List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH 1/1] tests: do not copy snapshots to /tmp/
@ 2020-10-21 19:31 Christian Hesse
  2020-10-21 22:03 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Hesse @ 2020-10-21 19:31 UTC (permalink / raw)
  To: cgit; +Cc: Christian Hesse

From: Christian Hesse <mail@eworm.de>

No idea why this was added... Possibly to inspect the snapshot manually?
Let's drop it.

Signed-off-by: Christian Hesse <mail@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' '

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] tests: do not copy snapshots to /tmp/
  2020-10-21 19:31 [PATCH 1/1] tests: do not copy snapshots to /tmp/ Christian Hesse
@ 2020-10-21 22:03 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2020-10-21 22:03 UTC (permalink / raw)
  To: Christian Hesse; +Cc: cgit, Christian Hesse

Nice catch. Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-21 22:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-21 19:31 [PATCH 1/1] tests: do not copy snapshots to /tmp/ Christian Hesse
2020-10-21 22:03 ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).