]> git.scottworley.com Git - pinch/blobdiff - tests/pin-twice.sh
Factor out fetch_channel
[pinch] / tests / pin-twice.sh
index 5f51cc0bcd5191c9693f0ec4decbc72201711c20..dec02f06e5297b656cb87e5715c74f0c2564c848 100755 (executable)
@@ -17,8 +17,6 @@ python3 ./pinch.py pin "$conf"
 
 actual_env_command=`python3 ./pinch.py update --dry-run "$conf"`
 
-foo_cleanup
-
 expected_env_command_RE='^nix-env --profile /nix/var/nix/profiles/per-user/[^/]+/channels --show-trace --file '\''<nix/unpack-channel.nix>'\'' --install --from-expression '\''f: f \{ name = "(repo-[0-9]{10}-[0-9a-f]{11})"; channelName = "foo"; src = builtins.storePath "/nix/store/.{32}-\1.tar.xz"; \}'\''$'
 
 if echo "$actual_env_command" | egrep "$expected_env_command_RE" > /dev/null;then