Remove previous test results before running a test
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 30 Nov 2010 16:25:31 +0000 (17:25 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 30 Nov 2010 16:25:31 +0000 (17:25 +0100)
gw-tests/lib.sh

index f7fcf75..63ee99d 100644 (file)
@@ -76,7 +76,9 @@ _run() {
        dir=$(create_dirs_and_links $(basename $0 .sh) $kvers)
        script=$PWD/$0
        cd $dir
+       echo "Working directory: $dir"
        if [[ ! "$OPT_PLOT_ONLY" ]]; then
+           rm -rf *
            cleanupgw
            main
            cp $script .