3 # pmdumplog strangeness with actual filenames for the argument
5 # Copyright (c) 2015 Ken McDonell. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
16 status
=1 # failure is the default!
17 $sudo rm -rf $tmp.
* $seq.full
18 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
20 # real QA test starts here
21 for ext
in "" .0 .meta .index
24 echo "using archives/ok-foo$ext ..."
25 pmdumplog
-z -a archives
/ok-foo
$ext >$tmp.out
2>$tmp.err
32 mv $tmp.
$t $tmp.
$t.baseline
38 if diff $tmp.
$t.baseline
$tmp.
$t >$tmp.tmp