summaryrefslogtreecommitdiffstats
path: root/sanity/system_light/run.sh
diff options
context:
space:
mode:
authorRahul C S <rahulcs@redhat.com>2012-01-11 17:43:27 +0530
committerRahul C S <rahulcs@redhat.com>2012-01-12 11:25:13 +0530
commita05461c1ddbcdc3875b0b8aa3657d5cc75faa15e (patch)
treeb6eb6e0c6f028b638fd869b4004124ea6f86cd79 /sanity/system_light/run.sh
parent254e67dbd7a35d38dbe7a5f525955adeb86f5939 (diff)
Adding fsmark tests to sanity
Change-Id: Ief7b6f884cf08321343e03758eeedb312b1fe799 Signed-off-by: Rahul C S <rahulcs@redhat.com>
Diffstat (limited to 'sanity/system_light/run.sh')
-rwxr-xr-xsanity/system_light/run.sh18
1 files changed, 17 insertions, 1 deletions
diff --git a/sanity/system_light/run.sh b/sanity/system_light/run.sh
index b244030..12198a2 100755
--- a/sanity/system_light/run.sh
+++ b/sanity/system_light/run.sh
@@ -30,7 +30,8 @@ _init ()
15.syscallbench
16.tiobench
17.locktests
-18.ioblazer";
+18.ioblazer
+19.fsmark";
}
run_ffsb ()
@@ -354,6 +355,20 @@ run_rpc_coverage ()
fi
}
+run_fsmark ()
+{
+ echo "Executing fsmark"
+ set +x
+ $SCRIPTS_PATH/fs_mark.sh
+ if [ "${?}" -eq 0 ]; then
+ CNT=$((CNT+1))
+ echo $CNT
+ else
+ echo "fsmark failed"
+ echo $CNT
+ fi
+}
+
main ()
{
echo " Changing to the specified mountpoint";
@@ -378,6 +393,7 @@ main ()
run_arequal;
run_syscallbench;
run_tiobench;
+ run_fsmark;
if [ $TYPE != "nfs" ]; then
run_locktests;
fi