xeno-test: replace 'head -3' with 'head -n 3'
PATCH 1/1 xeno-test: replace 'head -3' with 'head -n 3'
heres an untested (still, low risk) patch for xeno-test which corrects an obsolete usage of head.
noted by Tobias Marschall on xeno-help.
xeno-test.in +1 -1
@@ -90,7 +90,7 @@ loudly cat /proc/interrupts loudly cat /proc/loadavg [ -n "$prepost" ] && loudly $prepost - loudly top -bn1c | head -$(( 12 + $workload )) + loudly top -bn1c | head -n $(( 12 + $workload )) }
Philippe Gerum
AppliedQuoted 5 lines · Jim Cromie
heres an untested (still, low risk) patch for xeno-test which corrects an obsolete usage of head.
Applied, thanks.
Quoted 26 lines
noted by Tobias Marschall on xeno-help.
------------------------------------------------------------------------
Index:
scripts/xeno-test.in
===================================================================xeno-test.in +1
-2@@ -90,7 +90,7 @@ loudly cat /proc/interrupts loudly cat /proc/loadavg [ -n "$prepost" ] && loudly $prepost - loudly top -bn1c | head -$(( 12 + $workload )) + loudly top -bn1c | head -n $(( 12 + $workload )) } ------------------------------------------------------------------------_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.