3 # Check that -d option (duplicate are OK in the PMNS) is deprecated
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
23 -e '/Operation not permitted/d' \
32 cat <<End-of-File >root_one
42 cat <<End-of-File >two
45 fumble 2:0:0 /* duplicate name */
49 # real QA test starts here
50 echo "=== Rebuild -d ==="
51 $PCP_VAR_DIR/pmns
/Rebuild
-d 2>&1 | _filter
55 echo "=== pmnsadd -d ==="
56 pmnsadd
-d -n root two
60 echo "=== pmnsdel -d ==="
61 pmnsdel
-d -n root one
65 echo "=== pmnsmerge -d ==="
66 pmnsmerge
-d root root_one root_new