use mktemp

This commit is contained in:
Thomas Levine 2016-02-28 22:43:35 +00:00
parent 9d60edae83
commit 3e90e83237
7 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,3 @@
#!/bin/sh
[ $(grep -c 'setup has run' .log) -gt '2' ]
[ $(grep -c 'setup has run' $log) -gt '2' ]

View File

@ -1,3 +1,3 @@
#!/bin/sh
[ -f .log ]
[ -f $log ]

View File

@ -1,3 +1,3 @@
#!/bin/sh
[ $(grep -c 'setup_dir has run' .log) = '1' ]
[ $(grep -c 'setup_dir has run' $log) = '1' ]

View File

@ -1,3 +1,3 @@
#!/bin/sh
[ $(grep -c 'setup_dir has run' .log) = '1' ]
[ $(grep -c 'setup_dir has run' $log) = '1' ]

View File

@ -1 +1 @@
echo teardown has run >> .log
echo teardown has run >> $log

View File

@ -1,3 +1,3 @@
#!/bin/sh
[ $(grep -c 'teardown has run' .log) -gt '2' ]
[ $(grep -c 'teardown has run' $log) -gt '2' ]

View File

@ -1,3 +1,3 @@
#!/bin/sh
[ $(grep -c 'teardown has run' .log) -gt '2' ]
[ $(grep -c 'teardown has run' $log) -gt '2' ]