Inserting a small (2s) sleep after starting print_event.
authorDavid Disseldorp <ddiss@sgi.com>
Mon, 9 Jul 2007 06:15:49 +0000 (06:15 +0000)
committerDavid Disseldorp <ddiss@sgi.com>
Mon, 9 Jul 2007 06:15:49 +0000 (06:15 +0000)
Merge of master-melb:xfs-cmds:29094a by kenmcd.

168

diff --git a/168 b/168
index 0628d26c01f36e8b54ef651b9c69959776bce34d..2c105ef95a12ff2402f9dc34ee12a65498c61685 100755 (executable)
--- a/168
+++ b/168
@@ -45,6 +45,9 @@ qa_file_withattr=$SCRATCH_MNT/dmapi_file_withattr
 ${DMAPI_QASUITE1_DIR}cmd/print_event $SCRATCH_MNT > $tmp.print_event_out 2>&1 &
 dmapi_print_event_pid=$!
 
+# give time for print_event to start capturing events
+sleep 2
+
 # enable DMAPI set_return_on_destroy for $SCRATCH_MNT
 ${DMAPI_COMMON_DIR}cmd/set_return_on_destroy -F $SCRATCH_MNT ATTR_NAME_1