mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
textproc/gsed: skip panic-tests.sh when running as root...
...for instance as poudriere, because the tests sets up a directory that is intended to be non-writable, which is ignored on FreeBSD 14, and causes the panic-tests.sh to fail because sed can unexpectedly create a temp file when running as root.
This commit is contained in:
parent
9d51ef0524
commit
7904bae07b
11
textproc/gsed/files/patch-testsuite_panic-tests.sh
Normal file
11
textproc/gsed/files/patch-testsuite_panic-tests.sh
Normal file
@ -0,0 +1,11 @@
|
||||
--- testsuite/panic-tests.sh.orig 2022-01-01 23:00:07 UTC
|
||||
+++ testsuite/panic-tests.sh
|
||||
@@ -18,6 +18,8 @@ print_ver_ sed
|
||||
. "${srcdir=.}/testsuite/init.sh"; path_prepend_ ./sed
|
||||
print_ver_ sed
|
||||
|
||||
+test $(id -u) != 0 || exit 77 # these tests pass unexpectedly if run as root
|
||||
+
|
||||
#
|
||||
# failure to create temp file
|
||||
#
|
Loading…
Reference in New Issue
Block a user