ovsdb-monitor.at: Changes for Windows.
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 14 May 2014 19:48:17 +0000 (12:48 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 28 May 2014 15:34:28 +0000 (08:34 -0700)
commit90fd962877deb12b0807382a7ebf894223c5fb7f
tree4f5de931e5da3318c745b022cc1c59e5207d5bcb
parent84f0f298298465f9bd6f7e794b671587e4556503
ovsdb-monitor.at: Changes for Windows.

ovsdb-client's 'monitor' command works with --detach such
that the parent detaches after printing initial transactions in
the database. This is a little tricky to implement
in windows. So for windows, send the process to background with
'&' and then sleep for a second to let the intial transactions
printed. (We can do the same for Linux, but it slows down the
test run)

Also let the perl script that looks at the o/p be aware of
CR LF in windows.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
tests/ovsdb-monitor-sort.pl
tests/ovsdb-monitor.at