3 # Test unit scale conversion in pmdumptext
6 echo "QA output created by $seq"
8 status
=1 # failure is the default!
10 trap "_cleanup_qt; exit \$status" 0 1 2 3 15
12 which pmdumptext
>/dev
/null
2>&1 || _notrun
"pmdumptext not installed"
17 $1 == "TIME-STAMP" && $2 != "?" { val = $2;
18 if (val < 1.05 && val > 0.95) $2 = 1.0;
19 printf("%s %5.2f\n", $1, $2); next }
23 # real QA test starts here
24 pmdumptext
-imu -w 7 -s 3 -f 'TIME-STAMP' sample.milliseconds | _filter
2>&1