3 # end of log and truncated log test
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard filters
17 if [ $PCP_VER -lt 30509 ]
19 ln $seq.out
.1 $seq.out ||
exit 1
21 ln $seq.out
.2 $seq.out ||
exit 1
24 trap "rm -f $tmp.*; exit" 0 1 2 3 15
29 STAMP
=`sed <$tmp.out -n -e '/pmGetArchiveEnd time:/s/.* //p'`
32 echo "pmGetArchiveEnd failed!"
35 sed -e "s/$STAMP/MY-EOL-TIMESTAMP/g" <$tmp.out
39 # real QA test starts here
41 src
/eol
-a tmparch
/foo | _filter
45 src
/eol
-a tmparch
/bigbin | _filter
48 echo "truncated archive"
49 src
/eol
-a tmparch
/truncbin | _filter
53 src
/eol
-a tmparch
/null | _filter
56 echo "small multi-volume archive"
57 src
/eol
-a tmparch
/mv-foo | _filter
60 echo "large multi-volume archive"
61 src
/eol
-a tmparch
/mv-bigbin | _filter
64 echo "large no index archive"
65 src
/eol
-a tmparch
/noti-bigbin | _filter