X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/db3da89c7a9f14eec5aa400acfd3c888daca8385..a2290fb189bee1da5e985d785e044d1681401ff7:/tests/reject-nonancestor.sh?ds=sidebyside diff --git a/tests/reject-nonancestor.sh b/tests/reject-nonancestor.sh index b8e944a..5608761 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" <