From: Wanlong G. <gao...@cn...> - 2012-06-26 08:27:00
|
On 06/22/2012 10:35 AM, Wanlong Gao wrote: > Maybe a typo when replacing DEVICE_FS_TYPE. Objections, Cooper? There isn't any other places have this odd statement in this file like here. Thanks, Wanlong Gao > > Signed-off-by: Wanlong Gao <gao...@cn...> > --- > runltp | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/runltp b/runltp > index 3bd5252..0d77a6e 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 > |