aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2020-10-21 21:31:52 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-10-22 00:03:01 +0200
commita1039ab17591cc531c877bc693088fd2e45c97ff (patch)
treef377c9ad220f178bf0c0f3538af3aebb88661ba0
parenta4de0e810b69710c3b32f6d253d80d16dec09f36 (diff)
downloadcgit-a1039ab17591cc531c877bc693088fd2e45c97ff.tar.gz
cgit-a1039ab17591cc531c877bc693088fd2e45c97ff.tar.bz2
cgit-a1039ab17591cc531c877bc693088fd2e45c97ff.zip
tests: do not copy snapshots to /tmp/
No idea why this was added... Possibly to inspect the snapshot manually? Let's drop it. Signed-off-by: Christian Hesse <mail@eworm.de>
-rwxr-xr-xtests/t0107-snapshot.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/t0107-snapshot.sh b/tests/t0107-snapshot.sh
index c164d3e..89b9159 100755
--- a/tests/t0107-snapshot.sh
+++ b/tests/t0107-snapshot.sh
@@ -61,8 +61,7 @@ test_expect_success LZIP 'strip off the header lines' '
'
test_expect_success LZIP 'verify lzip format' '
- lzip --test master.tar.lz &&
- cp master.tar.lz /tmp/.
+ lzip --test master.tar.lz
'
test_expect_success LZIP 'untar' '
@@ -103,8 +102,7 @@ test_expect_success XZ 'strip off the header lines' '
'
test_expect_success XZ 'verify xz format' '
- xz --test master.tar.xz &&
- cp master.tar.xz /tmp/.
+ xz --test master.tar.xz
'
test_expect_success XZ 'untar' '
@@ -145,8 +143,7 @@ test_expect_success ZSTD 'strip off the header lines' '
'
test_expect_success ZSTD 'verify zstd format' '
- zstd --test master.tar.zst &&
- cp master.tar.zst /tmp/.
+ zstd --test master.tar.zst
'
test_expect_success ZSTD 'untar' '