Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In ls(1) output from tests, omit any trailing SELinux dot. Fixes
self-tests on CentOS. Bump PKGREVISION.
- Loading branch information
Showing
3 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
sysutils/daemontools-encore/patches/patch-rts.tests_supervise-lock.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
$NetBSD: patch-rts.tests_supervise-lock.sh,v 1.1 2020/01/25 11:17:31 schmonz Exp $ | ||
|
||
In ls(1) output from tests, omit any trailing SELinux dot. | ||
|
||
--- rts.tests/supervise-lock.sh.orig 2018-10-14 00:48:50.000000000 +0000 | ||
+++ rts.tests/supervise-lock.sh | ||
@@ -1,9 +1,9 @@ | ||
echo '--- supervise leaves locked service intact' | ||
supervise test.sv & | ||
waitok test.sv | ||
-( cd test.sv/supervise && ls -dl * | awk '{ print $1, $5, $9 }' ) | ||
+( cd test.sv/supervise && ls -dl * | awk '{ print substr($1,1,10), $5, $9 }' ) | ||
supervise test.sv; echo $? | ||
-( cd test.sv/supervise && ls -dl * | awk '{ print $1, $5, $9 }' ) | ||
+( cd test.sv/supervise && ls -dl * | awk '{ print substr($1,1,10), $5, $9 }' ) | ||
svc -x test.sv; echo $? | ||
wait | ||
svstat test.sv; echo $? |