X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/db3da89c7a9f14eec5aa400acfd3c888daca8385..d7cfdb226f4463b96a3ce50f93142e4b6c0d8420:/tests/reject-nonancestor.sh 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" <