@@ -92,11 +92,17 @@ m4_define([UNIXCTL_BAD_TARGET_PYN],
AT_CHECK_UNQUOTED([tail -1 stderr], [0], [dnl
appctl.py: cannot read pidfile "`pwd`/bogus.pid" (No such file or directory)
])
-
- AT_CHECK([PYAPPCTL_PYN([$3]) -t /bogus/path.pid doit], [1], [], [stderr])
- AT_CHECK([tail -1 stderr], [0], [dnl
+ if test "$IS_WIN32" = "no"; then
+ AT_CHECK([PYAPPCTL_PYN([$3]) -t /bogus/path.pid doit], [1], [], [stderr])
+ AT_CHECK([tail -1 stderr], [0], [dnl
appctl.py: cannot connect to "/bogus/path.pid" (No such file or directory)
])
+ else
+ AT_CHECK([PYAPPCTL_PYN([$3]) -t c:/bogus/path.pid doit], [1], [], [stderr])
+ AT_CHECK([tail -1 stderr], [0], [dnl
+appctl.py: cannot connect to "c:/bogus/path.pid" (No such file or directory)
+])
+ fi
AT_CLEANUP])
For bogus pid file path, use a windows-like file path. Signed-off-by: Paul-Daniel Boca <pboca@cloudbasesolutions.com> --- V2: No changes V3: No changes V4: No changes V5: No changes --- tests/unixctl-py.at | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)