diff options
author | EuAndreh <eu@euandre.org> | 2023-11-13 09:24:34 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-11-13 09:24:34 -0300 |
commit | d0ac6ed36f42dca602e8b06375481eb1e31c368a (patch) | |
tree | 8fa6504e2daa36ba3553f980540f90776cb0ef7e /tests/assert-uninstall.sh | |
parent | tests/assert-*.sh: Allow tests to run independently from "all" and from each ... (diff) | |
download | papod-d0ac6ed36f42dca602e8b06375481eb1e31c368a.tar.gz papod-d0ac6ed36f42dca602e8b06375481eb1e31c368a.tar.xz |
tests/assert-*.sh: Reuse rebuilt assets for tests
Diffstat (limited to 'tests/assert-uninstall.sh')
-rwxr-xr-x | tests/assert-uninstall.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/assert-uninstall.sh b/tests/assert-uninstall.sh index 0f85a60..247d723 100755 --- a/tests/assert-uninstall.sh +++ b/tests/assert-uninstall.sh @@ -1,19 +1,13 @@ #!/bin/sh set -eu -if [ ! -e .git ]; then - echo "Not in a Git repository, skipping \"$0\"." >&2 - exit -fi - - . tools/lib.sh D="$(mkdtemp)" R="$(mkdtemp)" trap 'rm -rf "$D" "$R"' EXIT -git clone -q --depth=1 file://"$PWD" "$R" +cp -pR ./ "$R" cd "$R" |