perf(case): remove duplicate head validation per mos-1350
This commit is contained in:
1 parent
135bb8fae2
commit
931fab079a
1 file changed
+1
-1
@@ -274,7 +274,7 @@ legacy_run() (
|
||||
local tag="$1" inner="$2" outer="$3" notice errors output size child="" rc=0 raw suffix display=87 valid=0; shift 3
|
||||
# WORK is root's private mktemp directory. The dropped uid cannot write it.
|
||||
printf '%s\n' 84 > "$WORK/legacy-$tag.rc"
|
||||
tester_tools /usr/bin/tail /usr/bin/head || { printf 'case1-accept: %s supervisor-tools\n' "$tag" >&2; exit 84; }
|
||||
tester_tools /usr/bin/tail || { printf 'case1-accept: %s supervisor-tools\n' "$tag" >&2; exit 84; }
|
||||
notice="$(mktemp "$WORK/legacy-notice.XXXXXX")" || exit 88
|
||||
errors="$(mktemp "$WORK/legacy-stderr.XXXXXX")" || { rm -f -- "$notice"; exit 88; }
|
||||
output="$(mktemp "$WORK/legacy-stdout.XXXXXX")" || { rm -f -- "$notice" "$errors"; exit 88; }
|
||||
|
||||
Reference in new issue
Block a user