diff options
author | Chen Gong <gong.chen@linux.intel.com> | 2009-12-21 16:37:10 +0800 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2009-12-21 11:54:11 +0100 |
commit | 13055bbd93eb179da8dda53c4dcdc632645f53be (patch) | |
tree | 64731e8b7512b5888b5376edbab86c9eccd075b1 | |
parent | 8a1fd3bef82d7f9b58d9e9809c45e47658e77132 (diff) | |
download | mce-test-13055bbd93eb179da8dda53c4dcdc632645f53be.tar.gz |
path of g_ltppan should be updated after ltp root path set
g_ltppan needs to be updated after g_ltproot is set.
BTW, I consider g_ltppan should be under g_ltproot directly. It is
more clear.
Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rwxr-xr-x | stress/hwpoison.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stress/hwpoison.sh b/stress/hwpoison.sh index 50828fc..f84df27 100755 --- a/stress/hwpoison.sh +++ b/stress/hwpoison.sh @@ -820,7 +820,6 @@ let "g_duration=120" g_interval=5 g_runltp=0 g_ltproot="/ltp" -g_ltppan="$g_ltproot/pan/ltp-pan" g_pagetool="page-types" g_madvise=0 g_apei=0 @@ -857,7 +856,8 @@ do l) g_logfile=$OPTARG;; t) g_duration=$OPTARG;; i) g_interval=$OPTARG;; - o) g_ltproot=$OPTARG;; + o) g_ltproot=$OPTARG + g_ltppan="$g_ltproot/ltp-pan";; p) g_pgtype=$OPTARG;; s) g_pgsize=$OPTARG;; r) g_result=$OPTARG;; |