Module Name: src Committed By: martin Date: Wed Oct 16 14:55:42 UTC 2024
Modified Files: src/tests/usr.bin/gzip [netbsd-9]: t_gzip.sh Log Message: Additionally pull up following revision(s) (requested by rin in ticket #1913): tests/usr.bin/gzip/t_gzip.sh: revision 1.3 tests/usr.bin/gzip/t_gzip.sh: revision 1.4 The lzip test requires root (it tries to archive /usr/games/hide) and the lzip binary (obviously). Drop root requirement and dependency on the games set being installed. To generate a diff of this commit: cvs rdiff -u -r1.1.36.1 -r1.1.36.2 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.1.36.1 src/tests/usr.bin/gzip/t_gzip.sh:1.1.36.2 --- src/tests/usr.bin/gzip/t_gzip.sh:1.1.36.1 Mon Oct 14 18:13:36 2024 +++ src/tests/usr.bin/gzip/t_gzip.sh Wed Oct 16 14:55:42 2024 @@ -1,4 +1,4 @@ -# $NetBSD: t_gzip.sh,v 1.1.36.1 2024/10/14 18:13:36 martin Exp $ +# $NetBSD: t_gzip.sh,v 1.1.36.2 2024/10/16 14:55:42 martin Exp $ # # Copyright (c) 2008 The NetBSD Foundation, Inc. # All rights reserved. @@ -104,11 +104,12 @@ atf_test_case lzip lzip_head() { atf_set "descr" "Checks lzip compression levels (PR/58223)" + 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