3 # merge two archives, and check that mark records are placed in the
6 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
10 echo "QA output created by $seq"
12 # get standard filters
20 -e '/\[[0-9][0-9]* bytes\]/d'
23 status
=1 # failure is the default!
24 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
26 # deal with an annoying libc error ... using TZ=:Australia/Melbourne
27 # causes the -z option to report the wrong time, at least for some
33 # real QA test starts here
36 pmdumplog
-a -z archives
/arch_a | _filter
40 pmdumplog
-a -z archives
/arch_b | _filter
43 pmlogextract
-z archives
/arch_a archives
/arch_b
$tmp.arch
46 echo "=== the merged archive ==="
47 pmdumplog
-a -z $tmp.arch | _filter