diff options
author | Gurucharan Shetty <gshetty@nicira.com> | 2014-05-29 14:47:30 -0700 |
---|---|---|
committer | Gurucharan Shetty <gshetty@nicira.com> | 2014-06-24 09:53:10 -0700 |
commit | 7acb0553ce4d14a235e82635a5c5f1345dd3c7bf (patch) | |
tree | f46d8516de83d00820eabf07f6b75a96b8cc18b5 /tests/atlocal.in | |
parent | 3c1150cecf39f463882ebbf0c071a7a097fa95b0 (diff) | |
download | openvswitch-7acb0553ce4d14a235e82635a5c5f1345dd3c7bf.tar.gz |
lockfile: Modify tests for Windows.
As of now, when a process tries to reacquire a lockfile, we
return EEXIST on Windows and print a different error message.
This means that the unit tests need to look for different error
messages too. Linux uses EDEADLK for the same. EDEADLK feels like
a good error description for Windows too and this also lets us
not change the tests too much. So use it.
Some of the tests in test-lockfile.c uses fork to test a
child's ability to acquire lock. We do not fork in Windows.
We also do not support symlinks on Windows. So, comment out
those tests.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tests/atlocal.in')
0 files changed, 0 insertions, 0 deletions