3 # Rebuild problems with duplicates and check irix.* and hw.* culling
6 # Since Rebuild is being enhanced for irix namespace stripping, the 'irix' names
7 # have been replaced with 'hpux' names to maintain the purpose of the test, but
8 # to prevent the unwanted translation from an irix namespace to non-irix.
9 # hpux was chosed since it is 'replaced' in the old and new Rebuilds.
11 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
15 echo "QA output created by $seq"
17 # get standard filters
22 status
=1 # failure is the default!
23 trap "cd $here; rm -rf $tmp; exit \$status" 0 1 2 3 15
27 sed -e '/^Rebuild/s/\/.*pmnsmerge/pmnsmerge/g'
32 scr_src
=$PCP_VAR_DIR/pmns
/
33 cp $scr_src/Rebuild
$1
34 if [ -f $scr_src/Xlate-irix-names
]
36 cp $scr_src/Xlate-irix-names
$1
42 cat <<'End-of-File' >root.start
65 cat <<'End-of-File' >root_irix
85 # Rebuild will write a message to SYSLOG when it fails,
86 # so write a message to SYSLOG that this is expected, and generated by QA
88 logger
-p user.notice
-t PCP
"qa/$seq running ... expect SYSLOG entry from Rebuild failure"
92 # real QA test starts here
94 echo "=== Rebuild ==="
97 $sudo .
/Rebuild | _filter
101 echo "=== Rebuild -u ==="
104 $sudo .
/Rebuild
-u | _filter