aboutsummaryrefslogtreecommitdiff
path: root/runltp
diff options
context:
space:
mode:
authorWanlong Gao <gaowanlong@cn.fujitsu.com>2012-06-22 10:35:35 +0800
committerWanlong Gao <gaowanlong@cn.fujitsu.com>2012-06-29 10:20:23 +0800
commit0b6c356437acfa2b4cf131a80a52a8407d096fac (patch)
tree9b4f03ba86b8596c944aeaa7934fdb9056026a5a /runltp
parent134bea08d477ac806aad07725ba333124a31c8e5 (diff)
runltp: fix the wrong parsing -b option
Maybe a typo when replacing DEVICE_FS_TYPE. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Reviewed-by: Garrett Cooper <yanegomi@gmail.com>
Diffstat (limited to 'runltp')
-rwxr-xr-xrunltp4
1 files changed, 2 insertions, 2 deletions
diff --git a/runltp b/runltp
index 3bd52525b..0d77a6efe 100755
--- a/runltp
+++ b/runltp
@@ -683,7 +683,7 @@ main()
sed -i "s|DEVICE|$DEVICE|" ${TMP}/alltests
else
echo "remove test cases which require the block device."
- echo "You can specify it with option -b"
+ echo "You can specify it with option -b"
sed -i "/DEVICE/d" ${TMP}/alltests
fi
@@ -719,7 +719,7 @@ main()
fi
if [ -n "$DEVICE" ]; then
- sed -i "" -e "s|DEVICE_FS_TYPE|$DEVICE_FS_TYPE|" ${TMP}/alltests
+ sed -i "s|DEVICE_FS_TYPE|$DEVICE_FS_TYPE|" ${TMP}/alltests
fi
if [ $? -ne 0 ]; then