]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
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 f7fcf75332616d7d582f5acbc201b88042770286..63ee99d6bfa07ddeb2b7cb40be6f6ae97b8733fc 100644 (file)
@@ -76,7 +76,9 @@ _run() {
        dir=$(create_dirs_and_links $(basename $0 .sh) $kvers)
        script=$PWD/$0
        cd $dir
        dir=$(create_dirs_and_links $(basename $0 .sh) $kvers)
        script=$PWD/$0
        cd $dir
+       echo "Working directory: $dir"
        if [[ ! "$OPT_PLOT_ONLY" ]]; then
        if [[ ! "$OPT_PLOT_ONLY" ]]; then
+           rm -rf *
            cleanupgw
            main
            cp $script .
            cleanupgw
            main
            cp $script .