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:
parent
96dcc006e9
commit
1f795f9f44
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue