From 1f795f9f44607cc5bec70d1300150bfefcef2aae Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 29 Apr 2015 03:18:32 +0200 Subject: [PATCH] tests: Fix wrong channel name in nix-channel.sh. The $channelName variable passed to the channel builder is the last portion of the URL and while that works in the previous test for channels prior to #519, it doesn't work if the last portion is nixexprs.tar.bz2. Signed-off-by: aszlig --- tests/nix-channel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/nix-channel.sh b/tests/nix-channel.sh index 0114566d7..b3442f6a8 100644 --- a/tests/nix-channel.sh +++ b/tests/nix-channel.sh @@ -49,7 +49,7 @@ clearManifests rm -f $TEST_ROOT/.nix-channels # Test updating from a tarball -nix-channel --add file://$TEST_ROOT/foo/nixexprs.tar.bz2 +nix-channel --add file://$TEST_ROOT/foo/nixexprs.tar.bz2 foo nix-channel --update # Do a query.