aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLi, Haicheng <haicheng.li@intel.com>2010-05-20 19:37:36 +0800
committerAndi Kleen <ak@linux.intel.com>2010-05-20 15:20:25 +0200
commit661c7f1add04821ebbe87268a92a107bdb143604 (patch)
treec80099c7714159aaa982a8e2fa79756920c5e657
parentfec153db2563589aa6ed9ba934e133e798ec645c (diff)
downloadmce-test-661c7f1add04821ebbe87268a92a107bdb143604.tar.gz
stress, hwpoison.sh: fix fs_metadata workload for local test dir
This patch is to fix below problem: ... result summary: fs_metadata -- no test finished details: /root/git/mce-test/stress/log/fs_metadata/fs_metadata.log fsck.ext3 -- fsck on /dev/loop5 got pass totally 1 task-groups report failures ... ... [04-05 16:29:08] thread 0 starts with pid 25027 tee: ./hwpoison/fs_metadata/k-threads.pid: No such file or directory 25027 Signed-off-by: Evan McNabb <emcnabb@redhat.com> Signed-off-by: Haicheng Li <haicheng.li@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rwxr-xr-xstress/hwpoison.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/stress/hwpoison.sh b/stress/hwpoison.sh
index 2c3f0d2..375ba6d 100755
--- a/stress/hwpoison.sh
+++ b/stress/hwpoison.sh
@@ -965,7 +965,6 @@ g_children=0 # child process num for each workload.
g_dev=
g_debugfs=
g_netdev=
-g_testdir="./hwpoison"
g_fstype=ext3
g_netfs=0
g_nomkfs=0
@@ -983,6 +982,7 @@ g_rootdir=`pwd`
g_bindir=$g_rootdir/bin
g_casedir=$g_rootdir/runtest
g_logdir=$g_rootdir/log
+g_testdir=$g_rootdir/hwpoison
g_resultdir=$g_rootdir/result
g_logfile=$g_resultdir/hwpoison.log
g_result=$g_resultdir/hwpoison.result