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>
diff --git a/runltp b/runltp
index 3bd5252..0d77a6e 100755
--- a/runltp
+++ b/runltp
@@ -683,7 +683,7 @@
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 @@
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