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>
This commit is contained in:
aszlig 2015-04-29 03:18:32 +02:00
parent 96dcc006e9
commit 1f795f9f44
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -49,7 +49,7 @@ clearManifests
rm -f $TEST_ROOT/.nix-channels rm -f $TEST_ROOT/.nix-channels
# Test updating from a tarball # 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 nix-channel --update
# Do a query. # Do a query.