ctdb-tests: Update integration tests to use ctdb -X
[vlendec/samba-autobuild/.git] / ctdb / tests / events.d / 00.test
index e3e15eb730113f04f2559e4d77064c2759648ff9..0ae09879d4330f7ed07e351da75c0f5bff2e4009 100755 (executable)
@@ -26,9 +26,9 @@ case $cmd in
        ;;
      startup)
        echo "ctdb startup event"
-       IFACES=`ctdb ifaces -Y | grep -v '^:Name:LinkStatus:References:'`
+       IFACES=`ctdb ifaces -X | grep -v '^|Name|LinkStatus|References|'`
        for I in $IFACES; do
-               IFACE=`echo -n "$I" | cut -d ':' -f2`
+               IFACE=`echo -n "$I" | cut -d '|' -f2`
                ctdb setifacelink $IFACE up
        done
        exit 0;