Jeremy Soller
3e49323a3a
Merge branch 'dlopen' into 'master'
...
Add support for dlopen(NULL, ...)
See merge request redox-os/relibc!315
2020-10-02 03:21:42 +00:00
Mateusz Tabaka
eee9a80baa
Fix tls tests for dynamic linker
...
* load TLS segment for executable - while we can skip PT_LOAD for executable,
we still have to load TLS segment.
* set TCB address based on if elf is position independent
2020-10-01 15:45:55 +02:00
Mateusz Tabaka
c11aad71b8
Add support for dlopen(NULL, ...)
2020-09-30 11:04:10 +02:00
Mateusz Tabaka
675101ac0e
Add tests for dynamic linker
2020-09-29 23:01:52 +02:00
jD91mZM2
4c148c1860
Make munmap use funmap2
2020-07-30 13:39:20 +02:00
Wren Turkal
865b7962a1
Add implmentation for fwide posix function.
...
This function is used to set the orientation of a stream to either
byte-oriented or wchar-oriented.
More info on this function is here:
https://man7.org/linux/man-pages/man3/fwide.3p.html
This implementation only impmlemnts the manual switching and does
not yet guard against using a byte-oriented stream with wchar
functions and vice versa. Those step will come in additional
commits.
Signed-off-by: Wren Turkal <wt@penguintechs.org >
2020-07-08 14:33:06 -07:00
Peter Limkilde Svendsen
59b040258a
Rename lcg48 as rand48
2020-06-23 18:34:44 +02:00
Peter Limkilde Svendsen
cc33874363
Implement random() and friends
2020-06-22 21:56:39 +00:00
oddcoder
92d6735e3f
Add more scanf tests
2020-06-03 23:20:53 +02:00
oddcoder
7eba6d88df
Add test for negative pad stupport in printf
2020-05-23 16:20:20 +02:00
oddcoder
1b131b8c60
Test off by one bug in vfscanf
2020-05-23 16:20:20 +02:00
oddcoder
6fba592fdb
Implement regression test for ftell-ungetc bug
2020-05-23 16:20:20 +02:00
oddcoder
49dec86a5d
Unit test arbitrarily long ungetc()
2020-05-23 16:20:20 +02:00
oddcoder
a39447e6a4
Test printf space padding regression
2020-05-08 22:38:42 +02:00
oddcoder
e9615065ac
Add tests for both wcsncasecmp and wcscasecmp
2020-04-26 19:13:03 +02:00
oddcoder
9725d3418a
Test towlower and towupper
2020-04-26 19:13:03 +02:00
Graham MacDonald
2283e25cde
sigaction should set sigaction.sa_restorer
2020-04-14 23:37:54 +01:00
Jeremy Soller
2e5d4a4d25
Merge remote-tracking branch 'origin/truncate-n-mkfifo'
2020-01-20 11:17:15 -07:00
Graham MacDonald
18e1a5608f
Re-enable netdb tests, fix compiler warning, improve brk coverage
2020-01-13 22:22:40 +00:00
Peter Limkilde Svendsen
0b2c3fe5ea
Implement wcsstr(), fix return type of wcslen()
2019-11-14 02:46:53 +00:00
Xavier L'Heureux
f53e9b5d9a
Remove the mkfifo test
2019-09-17 21:41:03 -04:00
Xavier L'Heureux
5156a13b3e
Add a test for futimens
2019-09-16 12:25:29 -04:00
Xavier L'Heureux
30d3cd5c88
Fix the mkfifo call on Linux and add a test to avoid regression
2019-09-13 12:35:08 -04:00
Steve McKay
4859c222e7
Make program_invocation_name modifiable
...
libiconv expects program_invocation_name to be an lvalue
2019-08-17 12:35:43 -04:00
Xavier L'Heureux
4c7f8c6369
test signals
2019-08-11 14:30:00 -04:00
jD91mZM2
e559a3e2e5
Stub for ptrace
...
It's happening...
2019-08-04 19:05:44 +02:00
jD91mZM2
a8280e8991
Implement wcstol, wcstod, and printf:ing wchars
2019-07-18 12:29:22 +02:00
jD91mZM2
7c99077248
Implement wcstok
2019-07-18 08:15:40 +02:00
Jeremy Soller
6a97b47d3f
Do not expect unistd/isatty
2019-07-06 19:32:01 -06:00
Jeremy Soller
e27b22f63c
Do not test sys_epoll by default
2019-07-06 19:02:35 -06:00
Jeremy Soller
5c0b37a229
Run verify script on Redox
2019-07-06 17:31:52 -06:00
Peter Limkilde Svendsen
70857f9980
Move alloc tests to expected-output tests
2019-07-01 18:35:56 +00:00
jD91mZM2
bf13674e11
Merge branch 'getpagesize_check' into 'master'
...
Use try_from in getpagesize(), add test
See merge request redox-os/relibc!225
2019-07-01 11:03:58 +00:00
jD91mZM2
e35f22b3df
WIP: pthread_atfork
...
WIP mainly because we *should* use thread locals, but #[thread_local]
causes segfaults.
2019-07-01 09:07:11 +02:00
Jeremy Soller
a72c5f4aca
Add static tls test
2019-06-30 21:30:34 -06:00
Peter Limkilde Svendsen
3b06380738
Add test for getpagesize()
2019-06-14 00:06:11 +02:00
jD91mZM2
c29237d360
Revert "Regenerate test output after !220 "
...
Well I'm dumb... This test was already ran in a way that wasn't
verifying output, because this test outputs things that can
differ. Excuse me for not noticing!
This reverts commit 0af78b1e06 .
2019-06-12 14:42:38 +02:00
jD91mZM2
0af78b1e06
Regenerate test output after !220
2019-06-12 11:45:06 +02:00
Jason Hansel
a5409ecd36
Fix out-of-bounds error in strsignal
2019-06-10 10:25:59 -04:00
Peter Limkilde Svendsen
45860e9256
Implement LCG pseudorandom number functions
2019-05-12 14:50:18 +00:00
Jeremy Soller
3a5a7b3378
Support for native relibc compilation of tests
2019-04-28 11:00:27 -06:00
Jeremy Soller
d6d01e5614
Allow custom sysroot to be specified
2019-04-28 10:49:44 -06:00
Jeremy Soller
b399e87ef8
Add epoll test
2019-04-28 09:13:47 -06:00
Alex Lyon
3584edf199
stdio: implement tempnam() and tmpnam()
2019-04-26 20:39:03 -07:00
jD91mZM2
29e1c780aa
Comment out or fix 2 failing tests
2019-04-21 17:46:22 +02:00
Jeremy Soller
2b56f2882b
Add libc.so, remove compiler_builtins
2019-04-11 21:00:39 -06:00
jD91mZM2
269b8a1d3e
Merge branch 'cleanup' into 'master'
...
tests: Macro based error handling
See merge request redox-os/relibc!195
2019-03-03 15:19:19 +00:00
lmiskiew
5eb2a8f7bd
Implement swab
2019-02-28 08:23:11 +00:00
emturner
4ed6dca61d
implements wcsrchr from wchar.h
2019-02-25 22:53:11 +00:00
emturner
ec3488c7b0
implements wcscspn from wchar.h
2019-02-22 23:18:21 +00:00