Revision 6b502fa3 test/hs/shelltests/htools-hspace.test
b/test/hs/shelltests/htools-hspace.test | ||
---|---|---|
6 | 6 |
# test again via a file and shell parsing |
7 | 7 |
./test/hs/hspace --simu p,4,8T,64g,16 --machine-readable --disk-template drbd -l 8 > $T/capacity && sh -c ". $T/capacity && test x\$HTS_OK = x1" |
8 | 8 |
>>>= 0 |
9 |
|
|
10 |
# Verify that instance policy for disks is adhered to |
|
11 |
./test/hs/hspace --machine-readable -t $TESTDATA_DIR/hspace-tiered-ipolicy.data |
|
12 |
>>>/HTS_TRL_INST_CNT=4/ |
|
13 |
>>>=0 |
|
14 |
|
|
15 |
# ...and instance positioning in human-readable form |
|
16 |
./test/hs/hspace -pname,pcnt -t $TESTDATA_DIR/hspace-tiered-ipolicy.data |
|
17 |
>>>2/Tiered allocation status: |
|
18 |
Name pcnt |
|
19 |
node-01-001 1 |
|
20 |
node-01-002 1 |
|
21 |
node-01-003 1 |
|
22 |
node-01-004 1/ |
|
23 |
>>>=0 |
|
24 |
|
Also available in: Unified diff