aboutsummaryrefslogtreecommitdiff
path: root/tests/nix-channel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nix-channel.sh')
-rw-r--r--tests/nix-channel.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nix-channel.sh b/tests/nix-channel.sh
index 4819b57c9..eb1d57295 100644
--- a/tests/nix-channel.sh
+++ b/tests/nix-channel.sh
@@ -9,9 +9,9 @@ rm -f $TEST_ROOT/.nix-channels
export HOME=$TEST_ROOT
# Test add/list/remove.
-nix-channel --add http://foo/bar
+nix-channel --add http://foo/bar xyzzy
nix-channel --list | grep -q http://foo/bar
-nix-channel --remove http://foo/bar
+nix-channel --remove xyzzy
[ -e $TEST_ROOT/.nix-channels ]
[ "$(cat $TEST_ROOT/.nix-channels)" = '' ]