[PATCH 1/1] tests: do not copy snapshots to /tmp/
Christian Hesse
list at eworm.de
Wed Oct 21 21:31:52 CEST 2020
From: Christian Hesse <mail at eworm.de>
No idea why this was added... Possibly to inspect the snapshot manually?
Let's drop it.
Signed-off-by: Christian Hesse <mail at eworm.de>
---
tests/t0107-snapshot.sh | 9 +++------
1 file 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' '
More information about the CGit
mailing list