diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 7077fe8a..1e8828a0 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -693,6 +693,8 @@ if 'benchmark' not in sys.argv: printf("<%s>\n", buffer); printf("<%d>\n", strerror_r(EWOULDBLOCK, buffer, 0)); + errno = 123; + printf("<%d>\n", errno); return 0; } @@ -701,6 +703,7 @@ if 'benchmark' not in sys.argv: <Numerical argument out of domain> <Resource temporarily unavailable> <34> + <123> ''' self.do_test(src, re.sub('(^|\n)\s+', '\\1', expected)) |