Revision 189b51fa htest/shelltests/htools-hspace.test
b/htest/shelltests/htools-hspace.test | ||
---|---|---|
1 | 1 |
# test that hspace machine readable output looks correct |
2 |
./test/hspace --simu p,4,8T,64g,16 --machine-readable --disk-template drbd -l 8 |
|
2 |
./htest/hspace --simu p,4,8T,64g,16 --machine-readable --disk-template drbd -l 8
|
|
3 | 3 |
>>> /^HTS_OK=1/ |
4 | 4 |
>>>= 0 |
5 | 5 |
|
6 | 6 |
# test again via a file and shell parsing |
7 |
./test/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" |
|
7 |
./htest/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 |
Also available in: Unified diff