X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/db3da89c7a9f14eec5aa400acfd3c888daca8385..9eecb073aa16525d4a09c62178f32ba8b7788cc5:/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" <