Module Name:    src
Committed By:   martin
Date:           Tue Oct 15 18:09:31 UTC 2024

Modified Files:
        src/tests/usr.bin/gzip: t_gzip.sh

Log Message:
Drop root requirement and dependency on the games set being installed.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/gzip/t_gzip.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/usr.bin/gzip/t_gzip.sh
diff -u src/tests/usr.bin/gzip/t_gzip.sh:1.3 src/tests/usr.bin/gzip/t_gzip.sh:1.4
--- src/tests/usr.bin/gzip/t_gzip.sh:1.3	Tue Oct 15 17:15:47 2024
+++ src/tests/usr.bin/gzip/t_gzip.sh	Tue Oct 15 18:09:31 2024
@@ -1,4 +1,4 @@
-# $NetBSD: t_gzip.sh,v 1.3 2024/10/15 17:15:47 martin Exp $
+# $NetBSD: t_gzip.sh,v 1.4 2024/10/15 18:09:31 martin Exp $
 #
 # Copyright (c) 2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -104,13 +104,12 @@ atf_test_case lzip
 lzip_head()
 {
 	atf_set "descr" "Checks lzip compression levels (PR/58223)"
-	atf_set "require.user" "root"
 	atf_set "require.progs" "lzip"
 }
 lzip_body()
 {
-	n=games.tar
-	tar -C /usr/games -cf games.tar .
+	n=net_tests.tar
+	tar -C /usr/tests/net -cf $n .
 	for i in $(jot 10 0 9); do
 		f=$n.$i.lz
 		lzip -$ic < $n > $f

Reply via email to