diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-01-21 23:45:52 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-01-22 00:02:52 +0100 |
commit | c74f0cb2b871f59466e6fbfbc954d8fc1cbc3c9c (patch) | |
tree | 9ba75e658aa3061ef4229aeddbe1e63d34fae01f /tests/publish.scm | |
parent | c4847f49b30f02c7542eae457055b3de4376e82a (diff) | |
download | guix-c74f0cb2b871f59466e6fbfbc954d8fc1cbc3c9c.tar.gz guix-c74f0cb2b871f59466e6fbfbc954d8fc1cbc3c9c.zip |
tests: Prevent 'http_proxy' from breaking Web server tests.
* tests/lint.scm: Add call to 'unsetenv' to remove 'http_proxy'.
* tests/publish.scm: Likewise.
Diffstat (limited to 'tests/publish.scm')
-rw-r--r-- | tests/publish.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/publish.scm b/tests/publish.scm index 4d72fdc468..0b92390900 100644 --- a/tests/publish.scm +++ b/tests/publish.scm @@ -16,6 +16,9 @@ ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. +;; Avoid interference. +(unsetenv "http_proxy") + (define-module (test-publish) #:use-module (guix scripts publish) #:use-module (guix tests) @@ -62,6 +65,7 @@ (connect conn AF_INET (inet-pton AF_INET "127.0.0.1") 6789)) (loop)))) + (test-begin "publish") (test-equal "/nix-cache-info" |