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