Merge branch 'master' of git://git.pcp.io/pcp into qt
[pcp.git] / qa / 451
blob23f68bac6a0d92ce4416f411d8183d22cdeb469c
1 #!/bin/sh
2 # PCP QA Test No. 451
3 # Exercise basic global locking
5 # Copyright (c) 2011 Ken McDonell. All Rights Reserved.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
12 . ./common.product
13 . ./common.filter
14 . ./common.check
16 _get_libpcp_config
17 $multi_threaded || _notrun "No libpcp threading support"
19 status=0 # success is the default!
20 $sudo rm -rf $tmp.* $seq.full
21 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
23 # real QA test starts here
24 for arg in ilu ilululu illluluuluu ll iluu
26 echo
27 echo "=== $arg ==="
28 src/exerlock $arg
29 done
31 # success, all done
32 exit