Whamcloud - gitweb
LU-1030 test: delete test file at the end of test script
authorJinshan Xiong <jinshan.xiong@whamcloud.com>
Thu, 21 Jun 2012 05:59:49 +0000 (13:59 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 21 Jun 2012 17:17:43 +0000 (13:17 -0400)
At sanity.sh:test_49, we need to delete the test file after test is
finished otherwise the following test cases may fail due to lack of
storage capacity.

Signed-off-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Change-Id: Iec9e93f1a4844156345608bf9f7a9bf679b36253
Reviewed-on: http://review.whamcloud.com/3158
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/tests/sanity.sh

index 190f128..b7201d7 100644 (file)
@@ -3051,6 +3051,7 @@ test_49() { # LU-1030
        done
        # restore original max_pages_per_rpc
        $LCTL set_param $osc1_mppc=$orig_mppc
+       rm $DIR/$tfile || error "rm $DIR/$tfile failed"
 }
 run_test 49 "Change max_pages_per_rpc won't break osc extent"