3 # pmStore(3) with changed pmAtomValue encoding for PM_TYPE_AGGREGATE
4 # pmstore(1) with PM_TYPE_STRING
6 # Copyright (c) 2010 Ken McDonell. All Rights Reserved.
10 echo "QA output created by $seq"
12 # get standard environment, filters and checks
17 rm -f $seq.out
$seq.full
19 ln $seq.out.
$endian $seq.out
22 src
/aggrstore sample.aggregate.write_me
13 >/dev
/null
23 src
/aggrstore sampledso.aggregate.write_me
13 >/dev
/null
24 pmstore sample.string.write_me
13 >/dev
/null
25 pmstore sampledso.string.write_me
13 >/dev
/null
27 status
=0 # success is the default!
29 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
31 # real QA test starts here
32 for val
in "" A AB ABC ABCD ABCDE
"mary had a little lamb"
34 src
/aggrstore sample.aggregate.write_me
"$val"
35 src
/aggrstore sampledso.aggregate.write_me
"$val"
36 pmstore sample.string.write_me
"$val"
37 pmstore sampledso.string.write_me
"$val"
41 src
/aggrstore sample.aggregate.write_me
13 >/dev
/null
42 src
/aggrstore sampledso.aggregate.write_me
13 >/dev
/null
43 pmstore sample.string.write_me
13 >/dev
/null
44 pmstore sampledso.string.write_me
13 >/dev
/null