diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-01 18:24:12 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-01 18:24:12 -0700 |
commit | 412ecd600739f6f27728cf67fb54052292168bd6 (patch) | |
tree | d5a350d21916f830213603b03c76ea699e70dcdf /tests/runner.py | |
parent | 248b605cbb0d6668a1677348feb61cc98395c625 (diff) |
inet_addr
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 89a633f1..1b4cd729 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -5069,10 +5069,12 @@ def process(filename): int main() { printf("*%x,%x,%x,%x,%x,%x*\n", htonl(0xa1b2c3d4), htonl(0xfe3572e0), htonl(0x07abcdf0), htons(0xabcd), ntohl(0x43211234), ntohs(0xbeaf)); + in_addr_t i = inet_addr("190.180.10.78"); + printf("%x\n", i); return 0; } ''' - self.do_run(src, '*d4c3b2a1,e07235fe,f0cdab07,cdab,34122143,afbe*') + self.do_run(src, '*d4c3b2a1,e07235fe,f0cdab07,cdab,34122143,afbe*\n4e0ab4be\n') def test_ctype(self): # The bit fiddling done by the macros using __ctype_b_loc requires this. |