NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/60353 CVS commit: src
The following reply was made to PR bin/60353; it has been noted by GNATS.
From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/60353 CVS commit: src
Date: Tue, 23 Jun 2026 15:52:58 +0000
Module Name: src
Committed By: riastradh
Date: Tue Jun 23 15:52:58 UTC 2026
Modified Files:
src/external/bsd/libarchive/dist/test_utils: test_main.c
src/tests/usr.bin/cpio: t_cpio.sh
Log Message:
libarchive: Fix cpio(1) tests.
1. When dropping privileges, setegid to the _gid_ of user `nobody',
not to the _uid_ of user `nobody'.
2. In the test, grant that user access to the atf test working
directory so it can execute the `bsdcpio' symlink we create in
order to get argv[0] set appropriately for the error messages that
the test checks for.
PR bin/60353: cpio(1): tests are failing to run at all
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
src/external/bsd/libarchive/dist/test_utils/test_main.c
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/cpio/t_cpio.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index