Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libarchive PR/55612: Martin Husemann: libarchive t...



details:   https://anonhg.NetBSD.org/src/rev/b6b45ed37e14
branches:  trunk
changeset: 937908:b6b45ed37e14
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Aug 28 18:46:05 2020 +0000

description:
PR/55612: Martin Husemann: libarchive tests pollute /tmp w/o cleanup
Set $TMPDIR to where we are.

diffstat:

 tests/lib/libarchive/t_libarchive.sh |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r c83bb5c3c95f -r b6b45ed37e14 tests/lib/libarchive/t_libarchive.sh
--- a/tests/lib/libarchive/t_libarchive.sh      Fri Aug 28 18:44:54 2020 +0000
+++ b/tests/lib/libarchive/t_libarchive.sh      Fri Aug 28 18:46:05 2020 +0000
@@ -1,4 +1,4 @@
-#       $NetBSD: t_libarchive.sh,v 1.6 2020/06/16 09:47:11 sevan Exp $
+#       $NetBSD: t_libarchive.sh,v 1.7 2020/08/28 18:46:05 christos Exp $
 #
 # Copyright (c) 2020 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -27,6 +27,8 @@
 
 atf_test_case libarchive
 
+export TMPDIR=$PWD
+
 libarchive_head()
 {
         atf_set "descr" "test libarchive"



Home | Main Index | Thread Index | Old Index