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