diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-05-26 15:59:50 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-05-26 15:59:50 +0200 |
commit | 638c56caeddbb10eeb7c636f7c0f4562ef6756e0 (patch) | |
tree | 183c7009d3e682cbf347ecd8ee1cb7606882b809 | |
parent | 981f6862592302cf509b716a1916423cef354ecf (diff) |
Remove outdated fetchGit test
It's no longer an error if we can't update our clone.
-rw-r--r-- | tests/fetchGit.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/fetchGit.sh b/tests/fetchGit.sh index d87ce8560..be46d24a7 100644 --- a/tests/fetchGit.sh +++ b/tests/fetchGit.sh @@ -50,9 +50,6 @@ path2=$(nix eval --impure --raw "(builtins.fetchGit file://$repo).outPath") [[ $(nix eval --impure "(builtins.fetchGit file://$repo).revCount") = 2 ]] [[ $(nix eval --impure --raw "(builtins.fetchGit file://$repo).rev") = $rev2 ]] -# But with TTL 0, it should fail. -(! nix eval --impure --tarball-ttl 0 "(builtins.fetchGit file://$repo)" -vvvvv) - # Fetching with a explicit hash should succeed. path2=$(nix eval --tarball-ttl 0 --raw "(builtins.fetchGit { url = file://$repo; rev = \"$rev2\"; }).outPath") [[ $path = $path2 ]] |