diff --git a/tests/Setup and Teardown/.test/setup has run twice b b/tests/Setup and Teardown/.test/setup has run twice b index 85bcfa1..6472808 100755 --- a/tests/Setup and Teardown/.test/setup has run twice b +++ b/tests/Setup and Teardown/.test/setup has run twice b @@ -1,3 +1,3 @@ #!/bin/sh -[ $(grep -c 'setup has run' .log) -gt '2' ] +[ $(grep -c 'setup has run' $log) -gt '2' ] diff --git a/tests/Setup and Teardown/.test/setup_dir runs b/tests/Setup and Teardown/.test/setup_dir runs index 1749b4b..471996f 100755 --- a/tests/Setup and Teardown/.test/setup_dir runs +++ b/tests/Setup and Teardown/.test/setup_dir runs @@ -1,3 +1,3 @@ #!/bin/sh -[ -f .log ] +[ -f $log ] diff --git a/tests/Setup and Teardown/.test/setup_dir runs only oncea b/tests/Setup and Teardown/.test/setup_dir runs only oncea index da49e66..4fb3fae 100755 --- a/tests/Setup and Teardown/.test/setup_dir runs only oncea +++ b/tests/Setup and Teardown/.test/setup_dir runs only oncea @@ -1,3 +1,3 @@ #!/bin/sh -[ $(grep -c 'setup_dir has run' .log) = '1' ] +[ $(grep -c 'setup_dir has run' $log) = '1' ] diff --git a/tests/Setup and Teardown/.test/setup_dir runs only onceb b/tests/Setup and Teardown/.test/setup_dir runs only onceb index da49e66..4fb3fae 100755 --- a/tests/Setup and Teardown/.test/setup_dir runs only onceb +++ b/tests/Setup and Teardown/.test/setup_dir runs only onceb @@ -1,3 +1,3 @@ #!/bin/sh -[ $(grep -c 'setup_dir has run' .log) = '1' ] +[ $(grep -c 'setup_dir has run' $log) = '1' ] diff --git a/tests/Setup and Teardown/.test/teardown b/tests/Setup and Teardown/.test/teardown index 2baad94..005cbeb 100755 --- a/tests/Setup and Teardown/.test/teardown +++ b/tests/Setup and Teardown/.test/teardown @@ -1 +1 @@ -echo teardown has run >> .log +echo teardown has run >> $log diff --git a/tests/Setup and Teardown/.test/teardown has run twice a b/tests/Setup and Teardown/.test/teardown has run twice a index 510d4a2..d2872bb 100755 --- a/tests/Setup and Teardown/.test/teardown has run twice a +++ b/tests/Setup and Teardown/.test/teardown has run twice a @@ -1,3 +1,3 @@ #!/bin/sh -[ $(grep -c 'teardown has run' .log) -gt '2' ] +[ $(grep -c 'teardown has run' $log) -gt '2' ] diff --git a/tests/Setup and Teardown/.test/teardown has run twice b b/tests/Setup and Teardown/.test/teardown has run twice b index 510d4a2..d2872bb 100755 --- a/tests/Setup and Teardown/.test/teardown has run twice b +++ b/tests/Setup and Teardown/.test/teardown has run twice b @@ -1,3 +1,3 @@ #!/bin/sh -[ $(grep -c 'teardown has run' .log) -gt '2' ] +[ $(grep -c 'teardown has run' $log) -gt '2' ]