use mktemp
This commit is contained in:
parent
9d60edae83
commit
3e90e83237
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
[ $(grep -c 'setup has run' .log) -gt '2' ]
|
[ $(grep -c 'setup has run' $log) -gt '2' ]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
[ -f .log ]
|
[ -f $log ]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
[ $(grep -c 'setup_dir has run' .log) = '1' ]
|
[ $(grep -c 'setup_dir has run' $log) = '1' ]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
[ $(grep -c 'setup_dir has run' .log) = '1' ]
|
[ $(grep -c 'setup_dir has run' $log) = '1' ]
|
||||||
|
@ -1 +1 @@
|
|||||||
echo teardown has run >> .log
|
echo teardown has run >> $log
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
[ $(grep -c 'teardown has run' .log) -gt '2' ]
|
[ $(grep -c 'teardown has run' $log) -gt '2' ]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
[ $(grep -c 'teardown has run' .log) -gt '2' ]
|
[ $(grep -c 'teardown has run' $log) -gt '2' ]
|
||||||
|
Loading…
Reference in New Issue
Block a user