Whamcloud - gitweb
LU-10833 tests: missing sed command 04/31704/2
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Wed, 21 Mar 2018 06:34:38 +0000 (09:34 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 9 Apr 2018 19:52:15 +0000 (19:52 +0000)
sed is complaining on missing command:
       cmd=$(echo $cmd | sed '/-n//')

Change-Id: Id1f0ed65719b58c4a51e9829177dd51996124d25
Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-on: https://review.whamcloud.com/31704
Tested-by: Jenkins
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Wei Liu <wei3.liu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/test-framework.sh

index 693185d..2c2d545 100755 (executable)
@@ -3058,7 +3058,7 @@ wait_mds_ost_sync () {
        done
 
        # show which nodes are not finished.
-       cmd=$(echo $cmd | sed '/-n//')
+       cmd=$(echo $cmd | sed 's/-n//')
        do_nodes $list "$cmd"
        echo "$facet recovery node $i not done in $WAIT_TIMEOUT sec. $STATUS"
        return 1