diff options
author | Wanlong Gao <gaowanlong@cn.fujitsu.com> | 2012-06-22 10:35:35 +0800 |
---|---|---|
committer | Wanlong Gao <gaowanlong@cn.fujitsu.com> | 2012-06-29 10:20:23 +0800 |
commit | 0b6c356437acfa2b4cf131a80a52a8407d096fac (patch) | |
tree | 9b4f03ba86b8596c944aeaa7934fdb9056026a5a /runltp | |
parent | 134bea08d477ac806aad07725ba333124a31c8e5 (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-x | runltp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |