3 # Check symlinks in $PCP_PMDAS_DIR
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard filters
16 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
18 # real QA test starts here
19 echo "expect no output ..."
21 if [ ! -d $PCP_PMDAS_DIR ]
23 echo "No $PCP_PMDAS_DIR dir?"
40 echo "Error: symlink $PCP_PMDAS_DIR/$dir -> nowhere?"
44 if [ ! -L /usr
/pcp
/pmdas
/$dir -a -d /usr
/pcp
/pmdas
/$dir ]
46 echo "Error: $dir directory in both /usr/pcp and /var/pcp!"
49 echo "Error: what is $PCP_PMDAS_DIR/$dir?"