Files
swift-mirror/test/remote-run/exit-code.test-sh
Saleem Abdulrasool 043912fd93 remote-run: make tests partially pass on Windows
Not all the tests are possible to run on Windows since they expect a
Unix-like shell environment.  However, the rest of the tests can be
accommodated.  This actually found an issue in the implementation.
Since the implementation assumes the target is POSIX/Unix-y, we should
use posixpath rather than os.path which uses the host's path style.
2018-12-02 20:58:19 -08:00

6 lines
152 B
Plaintext

REQUIRES: shell
RUN: not %debug-remote-run false >%t.txt 2>%t.errs.txt
RUN: test -f %t.txt -a ! -s %t.txt
RUN: test -f %t.errs.txt -a ! -s %t.errs.txt