aboutsummaryrefslogtreecommitdiff
path: root/tests/fetchMercurial.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-11-03 13:33:50 +0100
committerEelco Dolstra <edolstra@gmail.com>2017-11-03 13:55:30 +0100
commit4dee01da7c7bc5d67dc916f159bfee8a873ac19b (patch)
tree335cc7473215f4833c58a28f6e000026f3c731de /tests/fetchMercurial.sh
parent0e77aa398240d04e4169208d14ea620b8507b732 (diff)
fetchGit: Add a test
Diffstat (limited to 'tests/fetchMercurial.sh')
-rw-r--r--tests/fetchMercurial.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fetchMercurial.sh b/tests/fetchMercurial.sh
index 83bf1331a..9c897ada9 100644
--- a/tests/fetchMercurial.sh
+++ b/tests/fetchMercurial.sh
@@ -42,7 +42,7 @@ path2=$(nix eval --raw "(builtins.fetchMercurial file://$repo).outPath")
[[ $(nix eval --raw "(builtins.fetchMercurial file://$repo).rev") = $rev2 ]]
# But with TTL 0, it should fail.
-(! nix eval --tarball-ttl 0 --raw "(builtins.fetchMercurial file://$repo)")
+(! nix eval --tarball-ttl 0 "(builtins.fetchMercurial file://$repo)")
# Fetching with a explicit hash should succeed.
path2=$(nix eval --tarball-ttl 0 --raw "(builtins.fetchMercurial { url = file://$repo; rev = \"$rev2\"; }).outPath")