1 Debian patch touch this file
| 1 | package tzdata |
| 2 | |
| •3 | import ( |
| 4 | "os" |
| 5 | "testing" |
| 6 | ) |
| 7 | |
| 8 | func TestDownloadOldNames(t *testing.T) { |
| •9 | if os.Getenv("AUTOPKGTEST_TMP") == "" { |
| 10 | t.Skip("skip test as Internet access is disallowed during Debian package build") |
| 11 | } |
| 12 | _, err := DownloadOldNames() |
| 13 | if err != nil { |
| 14 | t.Errorf("error: %v", err) |
| 15 | } |
| 16 | } |