| [8a957e] | 1 | ### center atoms with defined boundary
 | 
|---|
 | 2 | 
 | 
|---|
| [718542] | 3 | AT_SETUP([Domain - center and add empty boundary])
 | 
|---|
| [e611dc] | 4 | AT_KEYWORDS([domain add-empty-boundary])
 | 
|---|
| [23b0c2] | 5 | 
 | 
|---|
 | 6 | file=test.conf
 | 
|---|
| [7db9bd] | 7 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/AddEmptyBoundary/pre/test.conf $file], 0)
 | 
|---|
| [23b0c2] | 8 | AT_CHECK([chmod u+w $file], 0)
 | 
|---|
 | 9 | AT_CHECK([../../molecuilder -i $file  -c "5, 10, 15"], 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/AddEmptyBoundary/post/test.conf], 0, [stdout], [stderr])
 | 
|---|
| [23b0c2] | 12 | 
 | 
|---|
| [8a957e] | 13 | AT_CLEANUP
 | 
|---|
| [e69c87] | 14 | 
 | 
|---|
 | 15 | 
 | 
|---|
| [718542] | 16 | AT_SETUP([Domain - center and add empty boundary with Undo])
 | 
|---|
| [e69c87] | 17 | AT_XFAIL_IF([/bin/true])
 | 
|---|
| [e611dc] | 18 | AT_KEYWORDS([domain add-empty-boundar undo])
 | 
|---|
| [e69c87] | 19 | 
 | 
|---|
 | 20 | file=test.conf
 | 
|---|
| [7db9bd] | 21 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/AddEmptyBoundary/pre/test.conf $file], 0)
 | 
|---|
| [e69c87] | 22 | AT_CHECK([chmod u+w $file], 0)
 | 
|---|
 | 23 | AT_CHECK([../../molecuilder -i $file  -c "5, 10, 15" --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/AddEmptyBoundary/post/test.conf], 0, [stdout], [stderr])
 | 
|---|
| [e69c87] | 26 | 
 | 
|---|
 | 27 | AT_CLEANUP
 | 
|---|
 | 28 | 
 | 
|---|
 | 29 | 
 | 
|---|
| [718542] | 30 | AT_SETUP([Domain - center and add empty boundary with Redo])
 | 
|---|
| [e69c87] | 31 | AT_XFAIL_IF([/bin/true])
 | 
|---|
| [e611dc] | 32 | AT_KEYWORDS([domain add-empty-boundary redo])
 | 
|---|
| [e69c87] | 33 | 
 | 
|---|
 | 34 | file=test.conf
 | 
|---|
| [7db9bd] | 35 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/AddEmptyBoundary/pre/test.conf $file], 0)
 | 
|---|
| [e69c87] | 36 | AT_CHECK([chmod u+w $file], 0)
 | 
|---|
 | 37 | AT_CHECK([../../molecuilder -i $file  -c "5, 10, 15" --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/AddEmptyBoundary/post/test.conf], 0, [stdout], [stderr])
 | 
|---|
| [e69c87] | 40 | 
 | 
|---|
 | 41 | AT_CLEANUP
 | 
|---|