X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/001b650db2f8a9e141634d63fa89250c1088f3c2..bed3218277c11d0e6092683f0a2d00225f84d8ae:/tests/multi-update.sh?ds=inline diff --git a/tests/multi-update.sh b/tests/multi-update.sh index 24c22bc..74899ff 100755 --- a/tests/multi-update.sh +++ b/tests/multi-update.sh @@ -1,23 +1,8 @@ #!/bin/sh -set -e - -repo_dir="`mktemp -d`" -repo="$repo_dir/repo" -git init "$repo" -( - cd "$repo" - echo Contents > test-file - git add test-file - git commit -m 'Commit message' -) - -conf1="`mktemp`" -cat > "$conf1" < "$conf2" < "$conf2" <'\'' --install --from-expression '\''f: f \{ name = "(repo-[0-9]{10}-[0-9a-f]{11})"; channelName = "bar"; src = builtins.storePath "/nix/store/.{32}-\1.tar.xz"; \}'\'' '\''f: f \{ name = "\1"; channelName = "foo"; src = builtins.storePath "/nix/store/.{32}-\1.tar.xz"; \}'\''$'