summaryrefslogtreecommitdiff
path: root/textproc/gsed/files/patch-testsuite_panic-tests.sh
blob: 4d4afeb245d67cc3690bf6d8ef56b30674322b2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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
 #