### 2. clear molecule selection AT_SETUP([Selection - clear]) AT_KEYWORDS([selection,molecule]) # some variables before srcpath="Selection/Molecules/2" srcfile=box.xyz m4_include(CheckCommand.sh) # the tests check_command_output $srcpath $srcfile "empty.xyz" "-I --select-all-molecules --clear-molecule-selection -s empty.xyz" mv empty.xyz empty_a.xyz check_command_output $srcpath $srcfile "box.xyz" "-I --select-all-molecules --clear-molecule-selection --undo -s box.xyz" check_command_output $srcpath $srcfile "empty.xyz" "-I --select-all-molecules --clear-molecule-selection --undo --redo -s empty.xyz" mv empty.xyz empty_b.xyz AT_CHECK([diff -I '.*Created by molecuilder.*' empty_a.xyz empty_b.xyz], 0, [ignore], [ignore]) AT_CLEANUP