Commit Graph

447 Commits

Author SHA1 Message Date
Ron Williams d2ef712fa7 Improve test running on Redox 2024-10-06 04:26:13 -07:00
Jeremy Soller d794dc7704 Merge branch 'test' into 'master'
Add sigaltstack test

See merge request redox-os/relibc!518
2024-09-28 16:09:48 +00:00
4lDO2 07af4e49f7 Add sigaltstack test. 2024-09-28 16:51:17 +02:00
Raffaele Ragni 1864a97a8e Impl net/if.h 2024-09-28 12:50:00 +00:00
4lDO2 293b041ea7 Move psignal test to correct (non-expect) category. 2024-09-24 19:34:53 +02:00
4lDO2 af6435e12d Implement psignal and psiginfo. 2024-09-24 19:34:53 +02:00
4lDO2 2b7a1ea94b Fix sigsuspend and add it to the sigqueue test. 2024-09-24 19:34:53 +02:00
4lDO2 9701e9c544 Add sigtimedwait to test, and various fixes. 2024-09-24 19:34:53 +02:00
4lDO2 30caf55429 Set siginfo_t.si_{pid,uid} from kill signals too. 2024-09-24 19:34:51 +02:00
4lDO2 f6761407e5 Pass si_pid to all realtime signals. 2024-09-24 19:34:51 +02:00
4lDO2 6fe7c264f6 Pass si_code to siginfo_t struct. 2024-09-24 19:34:51 +02:00
4lDO2 13e7b77643 Implement basic support for (kernel) rt signals. 2024-09-24 19:34:50 +02:00
4lDO2 c0e7af5289 Backwards-compatibly rewrite getdents to use special syscall. 2024-09-11 23:32:19 +02:00
Peter Limkilde Svendsen bb5adffdff Test endian.h macros 2024-09-06 22:28:24 +02:00
Peter Limkilde Svendsen 1cbbafd8b1 Fix little-endian-specific endian.h tests 2024-09-06 19:26:33 +02:00
Arnold Loubriat 9e20c351d8 Add endian.h 2024-09-04 00:50:30 +02:00
4lDO2 651445d0c9 Move forkpty test from EXPECT_NAMES to NAMES. 2024-08-10 13:08:11 +02:00
4lDO2 70e31a9454 Dup stdout rather than opening /dev/stdout.
The former is more portable, even on Linux if for example sudo/doas is used.
2024-08-10 13:00:13 +02:00
Jeremy Soller a38638542d Merge branch 'ctermid' into 'master'
Implement ctermid()

See merge request redox-os/relibc!490
2024-08-01 18:42:29 +00:00
Jeremy Soller dc9a577354 Merge branch 'mktime-timegm-refactor' into 'master'
Refactor mktime, timegm and fix wcpncpy test

See merge request redox-os/relibc!487
2024-08-01 18:42:01 +00:00
Peter Limkilde Svendsen 17076f37b9 Refactor mktime, timegm and fix wcpncpy test 2024-08-01 18:42:01 +00:00
Jeremy Soller 455d7323e9 Merge branch 'swscanf_works' into 'master'
swscanf and vswscanf implementation proposal

See merge request redox-os/relibc!472
2024-08-01 18:41:14 +00:00
Nicolás Antinori 198c5502b7 swscanf and vswscanf implementation proposal 2024-08-01 18:41:14 +00:00
Jeremy Soller af4fbf374e Merge branch 'dprintf' into 'master'
Implement dprintf and vdprintf

See merge request redox-os/relibc!489
2024-08-01 18:39:58 +00:00
Agoston Szepessy cdf5c70d5b Implement ctermid() 2024-07-25 11:32:26 +02:00
Agoston Szepessy bb1e8fe8d7 Implement dprintf and vdprintf 2024-07-23 22:15:53 +02:00
Agoston Szepessy a83d4cbced Implement getpass()
Also make fields in `termios` public; required for modifying them.

There's an new type of test: `EXPECT_INPUT_BINS`. These require a `.exp`
file to be present along with the `.c` file. The `.exp` file takes the
produced binary as an argument and sends input to the program. This is
useful for testing functions like `getpass()`.
2024-07-23 16:07:25 +02:00
4lDO2 01ce7f5aa1 Fix sigchld test. 2024-07-18 23:59:48 +02:00
Jeremy Soller 312b66e547 Merge branch 'usignal2' into 'master'
Implement syscall restart

See merge request redox-os/relibc!483
2024-07-17 09:38:41 +00:00
4lDO2 66a32016b5 Move sa_restart test to correct category. 2024-07-16 14:43:25 +02:00
Peter Limkilde Svendsen e5be15cc9b Fix missing modulo in random_bool() 2024-07-16 09:16:20 +00:00
4lDO2 bcce7e18db Implement SA_RESTART for read and write. 2024-07-15 23:24:41 +02:00
Peter Limkilde Svendsen dbcf8049fc Refactor rand48 functions with less unsafe 2024-07-15 17:44:56 +00:00
4lDO2 315ba323a4 Move sigchld test from EXPECT_NAMES to NAMES. 2024-07-09 15:42:33 +02:00
4lDO2 77c9e53ee2 Fix sigchld test. 2024-07-09 15:39:57 +02:00
4lDO2 cf390d6a52 Add SIGCHLD test. 2024-07-09 15:39:53 +02:00
Jacob Lorentzon 1fba2ef10a Various futex fixes 2024-04-05 20:31:06 +00:00
Peter Limkilde Svendsen a91a4082c4 Add tests for unistd.h constants 2024-03-27 12:21:14 +00:00
Peter Limkilde Svendsen d189b05f11 Add tests for further sys/resource.h constants 2024-03-12 20:40:55 +00:00
Bendeguz Pisch 2284bc4af5 Fix posix prio process (same as MR458 with fixed commits) 2024-03-04 13:41:43 +00:00
Jeremy Soller 4f8d16a3b9 Merge branch 'crypt' into 'master'
Add Crypt functions

See merge request redox-os/relibc!453
2024-03-01 00:23:42 +00:00
Darley Barreto 55dc2019f2 Add Crypt functions 2024-03-01 00:23:42 +00:00
Peter Limkilde Svendsen aea9e2b432 Panic when getpagesize() cannot succeed as specified 2024-02-19 00:19:03 +00:00
Jeremy Soller 2058c6693c Use TEST_RUNNER for make run in tests folder 2024-02-08 15:36:33 -07:00
Darley Barreto 9d8094baee Add forkpty, ptsname and posix_openpt 2024-01-17 03:05:50 +00:00
Abdullah Emad 0caf011122 Implement mknod and mknodat 2024-01-03 16:43:28 +00:00
Darley Barreto ce1e31d567 Replace C dlmalloc 2023-12-12 15:04:17 +00:00
4lDO2 5f929ed51e Enable -Wextra in tests. 2023-11-12 12:07:49 +01:00
4lDO2 c76a12347f Enforce -Werror in tests. 2023-11-12 11:45:15 +01:00
Darley Barreto f7d151e287 Simplify wcsrtombs and make test follow standard 2023-10-25 09:13:41 -03:00