about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-04-29T01·18+0200
committeraszlig <aszlig@redmoonstudios.org>2015-04-29T01·18+0200
commit1f795f9f44607cc5bec70d1300150bfefcef2aae (patch)
tree71e88b3dc76e2c36b9df78f15ddf3cf3528016cb /tests
parent96dcc006e9d2f4f37e9da05cb03c9d11383b9144 (diff)
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/nix-channel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nix-channel.sh b/tests/nix-channel.sh
index 0114566d78..b3442f6a84 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.