[8a957e] | 1 | ### scaling box
|
---|
| 2 |
|
---|
| 3 | AT_SETUP([Domain - scaling box])
|
---|
[718542] | 4 | AT_KEYWORDS([domain,scale-box])
|
---|
[23b0c2] | 5 |
|
---|
| 6 | file=test.conf
|
---|
[7db9bd] | 7 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/ScaleBox/pre/test.conf $file], 0)
|
---|
[23b0c2] | 8 | AT_CHECK([chmod u+w $file], 0)
|
---|
| 9 | AT_CHECK([../../molecuilder -i $file --scale-box "0.5, 1., 0.9"], 0, [stdout], [stderr])
|
---|
[3bd460a] | 10 | AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
|
---|
[7db9bd] | 11 | AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Domain/ScaleBox/post/test.conf], 0, [stdout], [stderr])
|
---|
[23b0c2] | 12 |
|
---|
[8a957e] | 13 | AT_CLEANUP
|
---|
[e69c87] | 14 |
|
---|
| 15 |
|
---|
| 16 | AT_SETUP([Domain - scaling box with Undo])
|
---|
| 17 | AT_XFAIL_IF([/bin/true])
|
---|
[718542] | 18 | AT_KEYWORDS([domain,scale-box,undo])
|
---|
[e69c87] | 19 |
|
---|
| 20 | file=test.conf
|
---|
[7db9bd] | 21 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/ScaleBox/pre/test.conf $file], 0)
|
---|
[e69c87] | 22 | AT_CHECK([chmod u+w $file], 0)
|
---|
| 23 | AT_CHECK([../../molecuilder -i $file --scale-box "0.5, 1., 0.9" --undo], 0, [stdout], [stderr])
|
---|
| 24 | AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
|
---|
[7db9bd] | 25 | AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Domain/ScaleBox/post/test.conf], 0, [stdout], [stderr])
|
---|
[e69c87] | 26 |
|
---|
| 27 | AT_CLEANUP
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 | AT_SETUP([Domain - scaling box with Redo])
|
---|
| 31 | AT_XFAIL_IF([/bin/true])
|
---|
[718542] | 32 | AT_KEYWORDS([domain,scale-box,redo])
|
---|
[e69c87] | 33 |
|
---|
| 34 | file=test.conf
|
---|
[7db9bd] | 35 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/ScaleBox/pre/test.conf $file], 0)
|
---|
[e69c87] | 36 | AT_CHECK([chmod u+w $file], 0)
|
---|
| 37 | AT_CHECK([../../molecuilder -i $file --scale-box "0.5, 1., 0.9" --undo --redo], 0, [stdout], [stderr])
|
---|
| 38 | AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
|
---|
[7db9bd] | 39 | AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Domain/ScaleBox/post/test.conf], 0, [stdout], [stderr])
|
---|
[e69c87] | 40 |
|
---|
| 41 | AT_CLEANUP
|
---|