diff options
author | max99x <max99x@gmail.com> | 2011-07-14 18:38:01 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-07-14 18:53:57 +0300 |
commit | 1e8f828cb5f2c3c60ab5b982590df5cb7bb6a19b (patch) | |
tree | 02949699ed6d1931e56a5c5f299c8c8bff89bf2f /tests | |
parent | f1507e847df81ff018d43e41c4382aea2361d065 (diff) |
Removed errno global since it's implemented via __errno_location().
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)) |