diff --git a/tests/full-test b/tests/full-test index 8cf23986..47d6cc35 100755 --- a/tests/full-test +++ b/tests/full-test @@ -170,15 +170,15 @@ rm -f ./not-ok ret=0 -rm -f ./ok -$DOCKER cp test_ocserv:/tmp/disconnect/ok ./ -if ! test -f ./ok;then +rm -f ./tmp-full/ok +$DOCKER cp test_ocserv:/tmp/disconnect/ok ./tmp-full/ +if ! test -f ./tmp-full/ok;then echo "Don't know if stats were received" ret=77 else echo -n "stats: " - echo `cat ./ok` - rm -f ./ok + echo `cat ./tmp-full/ok` + rm -rf ./tmp-full/ fi $DOCKER stop test_ocserv diff --git a/tests/unix-test b/tests/unix-test index ece4a5bc..ef16a459 100755 --- a/tests/unix-test +++ b/tests/unix-test @@ -170,15 +170,15 @@ rm -f ./not-ok ret=0 -rm -f ./ok -$DOCKER cp test_unix:/tmp/disconnect/ok ./ -if ! test -f ./ok;then +rm -f ./tmp-unix/ok +$DOCKER cp test_ocserv:/tmp/disconnect/ok ./tmp-unix/ +if ! test -f ./tmp-unix/ok;then echo "Don't know if stats were received" ret=77 else echo -n "stats: " - echo `cat ./ok` - rm -f ./ok + echo `cat ./tmp-unix/ok` + rm -rf ./tmp-unix/ fi $DOCKER stop test_unix