Set permissions of named pipes created by the test runner to 0600
This commit is contained in:
parent
83556da918
commit
0dcf6d9156
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ for TEXT in "$TESTDIR"/*.text; do
|
|||
test -f "$PIPE" -a -n "$PIPE" || abort "mktemp failed"
|
||||
trap 'rm -f "$PIPE"' EXIT INT TERM HUP
|
||||
rm -f "$PIPE"
|
||||
mkfifo "$PIPE" || abort "unable to create named pipe"
|
||||
mkfifo -m 0600 "$PIPE" || abort "unable to create named pipe"
|
||||
|
||||
$SCRIPT "$TEXT" | $TIDY > "$PIPE" &
|
||||
DIFF=$($TIDY "$HTML" | diff "$PIPE" -)
|
||||
|
|
Loading…
Reference in a new issue