1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
proc setup {} { save_env assert_bash_exec "touch fixture1/t.pdf"; # Create temporary files }; # setup() proc teardown {} { assert_bash_exec "rm fixture1/t.pdf"; # Remove temporary files assert_env_unmodified }; # teardown() setup assert_complete {"bar bar.d/" foo.d/ t.pdf} "acroread fixture1/" sync_after_int teardown