X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/db3da89c7a9f14eec5aa400acfd3c888daca8385..6a17c53ee6bcb74bbf32ca4a616ceadb24701534:/tests/reject-nonancestor.sh?ds=inline diff --git a/tests/reject-nonancestor.sh b/tests/reject-nonancestor.sh index b8e944a..44f2a82 100755 --- a/tests/reject-nonancestor.sh +++ b/tests/reject-nonancestor.sh @@ -1,23 +1,8 @@ #!/bin/sh -set -e +. ./tests/lib/test-setup.sh -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' -) - -conf="`mktemp`" -cat > "$conf" <