about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorChristian Hesse2020-10-21 21:31:52 +0200
committerJason A. Donenfeld2020-10-22 00:03:01 +0200
commita1039ab17591cc531c877bc693088fd2e45c97ff (patch)
treef377c9ad220f178bf0c0f3538af3aebb88661ba0
parentglobal: replace hard coded hash length (diff)
downloadcgit-a1039ab17591cc531c877bc693088fd2e45c97ff.tar.gz
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' '
61' 61'
62 62
63test_expect_success LZIP 'verify lzip format' ' 63test_expect_success LZIP 'verify lzip format' '
64 lzip --test master.tar.lz && 64 lzip --test master.tar.lz
65 cp master.tar.lz /tmp/.
66' 65'
67 66
68test_expect_success LZIP 'untar' ' 67test_expect_success LZIP 'untar' '
@@ -103,8 +102,7 @@ test_expect_success XZ 'strip off the header lines' '
103' 102'
104 103
105test_expect_success XZ 'verify xz format' ' 104test_expect_success XZ 'verify xz format' '
106 xz --test master.tar.xz && 105 xz --test master.tar.xz
107 cp master.tar.xz /tmp/.
108' 106'
109 107
110test_expect_success XZ 'untar' ' 108test_expect_success XZ 'untar' '
@@ -145,8 +143,7 @@ test_expect_success ZSTD 'strip off the header lines' '
145' 143'
146 144
147test_expect_success ZSTD 'verify zstd format' ' 145test_expect_success ZSTD 'verify zstd format' '
148 zstd --test master.tar.zst && 146 zstd --test master.tar.zst
149 cp master.tar.zst /tmp/.
150' 147'
151 148
152test_expect_success ZSTD 'untar' ' 149test_expect_success ZSTD 'untar' '