History log of /relibc/tests/ (Results 1 – 25 of 367)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
ec6243bc27-Mar-2023 David Carlier <devnexen@gmail.com>

wctrans/towctrans implementation proposal.

close #32

3fe37e3626-Mar-2023 David Carlier <devnexen@gmail.com>

reallocarray introduction available on glibc 2.26. allocates an array of m*n elements but checking for overflow.

34f2fff924-Mar-2023 David Carlier <devnexen@gmail.com>

strlcpy/strlcat api for portability's sake.
those functions differently than the strn* ones as
they do not pad with zero to remaining bytes but guarantees
a null terminator.

44f343be05-Jun-2021 David Carlier <devnexen@gmail.com>

explicit_bzero implementation proposal

393489b317-Dec-2022 Jeremy Soller <jackpot51@gmail.com>

Add wcswidth and test


/relibc/src/header/wchar/mod.rs
Makefile
expected/bins_static/alloca.stderr
expected/bins_static/alloca.stdout
expected/bins_static/arpainet.stderr
expected/bins_static/arpainet.stdout
expected/bins_static/assert.stderr
expected/bins_static/assert.stdout
expected/bins_static/constructor.stderr
expected/bins_static/constructor.stdout
expected/bins_static/ctype.stderr
expected/bins_static/ctype.stdout
expected/bins_static/destructor.stderr
expected/bins_static/destructor.stdout
expected/bins_static/dirent/scandir.stderr
expected/bins_static/dirent/scandir.stdout
expected/bins_static/error.stderr
expected/bins_static/error.stdout
expected/bins_static/fcntl/create.stderr
expected/bins_static/fcntl/create.stdout
expected/bins_static/fcntl/fcntl.stderr
expected/bins_static/fcntl/fcntl.stdout
expected/bins_static/fnmatch.stderr
expected/bins_static/fnmatch.stdout
expected/bins_static/futimens.stderr
expected/bins_static/futimens.stdout
expected/bins_static/libgen.stderr
expected/bins_static/libgen.stdout
expected/bins_static/locale.stderr
expected/bins_static/locale.stdout
expected/bins_static/math.stderr
expected/bins_static/math.stdout
expected/bins_static/netdb/getaddrinfo.stderr
expected/bins_static/netdb/getaddrinfo.stdout
expected/bins_static/ptrace.stderr
expected/bins_static/ptrace.stdout
expected/bins_static/regex.stderr
expected/bins_static/regex.stdout
expected/bins_static/select.stderr
expected/bins_static/select.stdout
expected/bins_static/setjmp.stderr
expected/bins_static/setjmp.stdout
expected/bins_static/sigaction.stderr
expected/bins_static/sigaction.stdout
expected/bins_static/signal.stderr
expected/bins_static/signal.stdout
expected/bins_static/stdio/all.stderr
expected/bins_static/stdio/all.stdout
expected/bins_static/stdio/buffer.stderr
expected/bins_static/stdio/buffer.stdout
expected/bins_static/stdio/fgets.stderr
expected/bins_static/stdio/fgets.stdout
expected/bins_static/stdio/fputs.stderr
expected/bins_static/stdio/fputs.stdout
expected/bins_static/stdio/fread.stderr
expected/bins_static/stdio/fread.stdout
expected/bins_static/stdio/freopen.stderr
expected/bins_static/stdio/freopen.stdout
expected/bins_static/stdio/fscanf.stderr
expected/bins_static/stdio/fscanf.stdout
expected/bins_static/stdio/fscanf_offby1.stderr
expected/bins_static/stdio/fscanf_offby1.stdout
expected/bins_static/stdio/fseek.stderr
expected/bins_static/stdio/fseek.stdout
expected/bins_static/stdio/fwrite.stderr
expected/bins_static/stdio/fwrite.stdout
expected/bins_static/stdio/getc_unget.stderr
expected/bins_static/stdio/getc_unget.stdout
expected/bins_static/stdio/mutex.stderr
expected/bins_static/stdio/mutex.stdout
expected/bins_static/stdio/popen.stderr
expected/bins_static/stdio/popen.stdout
expected/bins_static/stdio/printf.stderr
expected/bins_static/stdio/printf.stdout
expected/bins_static/stdio/printf_neg_pad.stderr
expected/bins_static/stdio/printf_neg_pad.stdout
expected/bins_static/stdio/printf_space_pad.stderr
expected/bins_static/stdio/printf_space_pad.stdout
expected/bins_static/stdio/rename.stderr
expected/bins_static/stdio/rename.stdout
expected/bins_static/stdio/scanf.stderr
expected/bins_static/stdio/scanf.stdout
expected/bins_static/stdio/setvbuf.stderr
expected/bins_static/stdio/setvbuf.stdout
expected/bins_static/stdio/sprintf.stderr
expected/bins_static/stdio/sprintf.stdout
expected/bins_static/stdio/ungetc_ftell.stderr
expected/bins_static/stdio/ungetc_ftell.stdout
expected/bins_static/stdio/ungetc_multiple.stderr
expected/bins_static/stdio/ungetc_multiple.stdout
expected/bins_static/stdlib/a64l.stderr
expected/bins_static/stdlib/a64l.stdout
expected/bins_static/stdlib/alloc.stderr
expected/bins_static/stdlib/alloc.stdout
expected/bins_static/stdlib/atof.stderr
expected/bins_static/stdlib/atof.stdout
expected/bins_static/stdlib/atoi.stderr
expected/bins_static/stdlib/atoi.stdout
expected/bins_static/stdlib/div.stderr
expected/bins_static/stdlib/div.stdout
expected/bins_static/stdlib/env.stderr
expected/bins_static/stdlib/env.stdout
expected/bins_static/stdlib/mkostemps.stderr
expected/bins_static/stdlib/mkostemps.stdout
expected/bins_static/stdlib/rand.stderr
expected/bins_static/stdlib/rand.stdout
expected/bins_static/stdlib/rand48.stderr
expected/bins_static/stdlib/rand48.stdout
expected/bins_static/stdlib/random.stderr
expected/bins_static/stdlib/random.stdout
expected/bins_static/stdlib/strtod.stderr
expected/bins_static/stdlib/strtod.stdout
expected/bins_static/stdlib/strtol.stderr
expected/bins_static/stdlib/strtol.stdout
expected/bins_static/stdlib/strtoul.stderr
expected/bins_static/stdlib/strtoul.stdout
expected/bins_static/stdlib/system.stderr
expected/bins_static/stdlib/system.stdout
expected/bins_static/string/mem.stderr
expected/bins_static/string/mem.stdout
expected/bins_static/string/strcat.stderr
expected/bins_static/string/strcat.stdout
expected/bins_static/string/strchr.stderr
expected/bins_static/string/strchr.stdout
expected/bins_static/string/strcpy.stderr
expected/bins_static/string/strcpy.stdout
expected/bins_static/string/strcspn.stderr
expected/bins_static/string/strcspn.stdout
expected/bins_static/string/strlen.stderr
expected/bins_static/string/strlen.stdout
expected/bins_static/string/strncmp.stderr
expected/bins_static/string/strncmp.stdout
expected/bins_static/string/strpbrk.stderr
expected/bins_static/string/strpbrk.stdout
expected/bins_static/string/strrchr.stderr
expected/bins_static/string/strrchr.stdout
expected/bins_static/string/strsignal.stderr
expected/bins_static/string/strsignal.stdout
expected/bins_static/string/strspn.stderr
expected/bins_static/string/strspn.stdout
expected/bins_static/string/strstr.stderr
expected/bins_static/string/strstr.stdout
expected/bins_static/string/strtok.stderr
expected/bins_static/string/strtok.stdout
expected/bins_static/string/strtok_r.stderr
expected/bins_static/string/strtok_r.stdout
expected/bins_static/strings.stderr
expected/bins_static/strings.stdout
expected/bins_static/sys_mman.stderr
expected/bins_static/sys_mman.stdout
expected/bins_static/time/asctime.stderr
expected/bins_static/time/asctime.stdout
expected/bins_static/time/constants.stderr
expected/bins_static/time/constants.stdout
expected/bins_static/time/gmtime.stderr
expected/bins_static/time/gmtime.stdout
expected/bins_static/time/localtime.stderr
expected/bins_static/time/localtime.stdout
expected/bins_static/time/macros.stderr
expected/bins_static/time/macros.stdout
expected/bins_static/time/mktime.stderr
expected/bins_static/time/mktime.stdout
expected/bins_static/time/strftime.stderr
expected/bins_static/time/strftime.stdout
expected/bins_static/time/time.stderr
expected/bins_static/time/time.stdout
expected/bins_static/tls.stderr
expected/bins_static/tls.stdout
expected/bins_static/unistd/access.stderr
expected/bins_static/unistd/access.stdout
expected/bins_static/unistd/brk.stderr
expected/bins_static/unistd/brk.stdout
expected/bins_static/unistd/dup.stderr
expected/bins_static/unistd/dup.stdout
expected/bins_static/unistd/exec.stderr
expected/bins_static/unistd/exec.stdout
expected/bins_static/unistd/fchdir.stderr
expected/bins_static/unistd/fchdir.stdout
expected/bins_static/unistd/fork.stderr
expected/bins_static/unistd/fork.stdout
expected/bins_static/unistd/fsync.stderr
expected/bins_static/unistd/fsync.stdout
expected/bins_static/unistd/ftruncate.stderr
expected/bins_static/unistd/ftruncate.stdout
expected/bins_static/unistd/getopt.stderr
expected/bins_static/unistd/getopt.stdout
expected/bins_static/unistd/getopt_long.stderr
expected/bins_static/unistd/getopt_long.stdout
expected/bins_static/unistd/pipe.stderr
expected/bins_static/unistd/pipe.stdout
expected/bins_static/unistd/rmdir.stderr
expected/bins_static/unistd/rmdir.stdout
expected/bins_static/unistd/sleep.stderr
expected/bins_static/unistd/sleep.stdout
expected/bins_static/unistd/swab.stderr
expected/bins_static/unistd/swab.stdout
expected/bins_static/unistd/write.stderr
expected/bins_static/unistd/write.stdout
expected/bins_static/waitpid.stderr
expected/bins_static/waitpid.stdout
expected/bins_static/wchar/fwide.stderr
expected/bins_static/wchar/fwide.stdout
expected/bins_static/wchar/mbrtowc.stderr
expected/bins_static/wchar/mbrtowc.stdout
expected/bins_static/wchar/mbsrtowcs.stderr
expected/bins_static/wchar/mbsrtowcs.stdout
expected/bins_static/wchar/printf-on-wchars.stderr
expected/bins_static/wchar/printf-on-wchars.stdout
expected/bins_static/wchar/putwchar.stderr
expected/bins_static/wchar/putwchar.stdout
expected/bins_static/wchar/wcrtomb.stderr
expected/bins_static/wchar/wcrtomb.stdout
expected/bins_static/wchar/wcscasecmp.stderr
expected/bins_static/wchar/wcscasecmp.stdout
expected/bins_static/wchar/wcscspn.stderr
expected/bins_static/wchar/wcscspn.stdout
expected/bins_static/wchar/wcsncasecmp.stderr
expected/bins_static/wchar/wcsncasecmp.stdout
expected/bins_static/wchar/wcsrchr.stderr
expected/bins_static/wchar/wcsrchr.stdout
expected/bins_static/wchar/wcsstr.stderr
expected/bins_static/wchar/wcsstr.stdout
expected/bins_static/wchar/wcstod.stderr
expected/bins_static/wchar/wcstod.stdout
expected/bins_static/wchar/wcstok.stderr
expected/bins_static/wchar/wcstok.stdout
expected/bins_static/wchar/wcstol.stderr
expected/bins_static/wchar/wcstol.stdout
expected/bins_static/wchar/wcswidth.stderr
expected/bins_static/wchar/wcswidth.stdout
expected/bins_static/wctype/towlower.stderr
expected/bins_static/wctype/towlower.stdout
expected/bins_static/wctype/towupper.stderr
expected/bins_static/wctype/towupper.stdout
wchar/wcswidth.c
7d27737c17-Dec-2022 Jeremy Soller <jackpot51@gmail.com>

Disable dynamic tests as they are not compiling


/relibc/.gitlab-ci.yml
/relibc/Cargo.lock
/relibc/Cargo.toml
/relibc/include/sys/types_internal.h
/relibc/renamesyms.sh
/relibc/src/crt0/src/lib.rs
/relibc/src/crti/src/lib.rs
/relibc/src/crtn/src/lib.rs
/relibc/src/header/_fenv/mod.rs
/relibc/src/header/netdb/mod.rs
/relibc/src/header/stdio/lookaheadreader.rs
/relibc/src/header/stdio/mod.rs
/relibc/src/header/stdlib/mod.rs
/relibc/src/header/sys_ioctl/redox.rs
/relibc/src/header/sys_mman/mod.rs
/relibc/src/header/sys_select/mod.rs
/relibc/src/header/sys_socket/constants.rs
/relibc/src/header/sys_time/mod.rs
/relibc/src/header/sys_types/mod.rs
/relibc/src/header/time/mod.rs
/relibc/src/header/unistd/mod.rs
/relibc/src/header/wchar/mod.rs
/relibc/src/header/wctype/alpha.rs
/relibc/src/header/wctype/mod.rs
/relibc/src/header/wctype/punct.rs
/relibc/src/ld_so/access.rs
/relibc/src/ld_so/dso.rs
/relibc/src/ld_so/linker.rs
/relibc/src/ld_so/mod.rs
/relibc/src/ld_so/src/lib.rs
/relibc/src/ld_so/start.rs
/relibc/src/ld_so/tcb.rs
/relibc/src/platform/allocator/dlmalloc.rs
/relibc/src/platform/auxv_defs.rs
/relibc/src/platform/linux/mod.rs
/relibc/src/platform/mod.rs
/relibc/src/platform/pal/mod.rs
/relibc/src/platform/pte.rs
/relibc/src/platform/redox/clone.rs
/relibc/src/platform/redox/exec.rs
/relibc/src/platform/redox/mod.rs
/relibc/src/platform/redox/path.rs
/relibc/src/platform/redox/ptrace.rs
/relibc/src/platform/redox/redox-exec/src/arch/aarch64.rs
/relibc/src/platform/redox/redox-exec/src/arch/mod.rs
/relibc/src/platform/redox/redox-exec/src/arch/x86.rs
/relibc/src/platform/redox/redox-exec/src/arch/x86_64.rs
/relibc/src/platform/redox/redox-exec/src/lib.rs
/relibc/src/platform/redox/signal.rs
/relibc/src/platform/redox/socket.rs
/relibc/src/platform/rlb.rs
/relibc/src/platform/test/epoll.rs
/relibc/src/platform/test/mod.rs
/relibc/src/platform/types.rs
/relibc/src/start.rs
/relibc/src/sync/mod.rs
/relibc/src/sync/reentrant_mutex.rs
/relibc/src/sync/semaphore.rs
Makefile
5b2a12ca27-Jul-2022 Nagy Tibor <xnagytibor@protonmail.com>

strtof, strtod: Fix parsing floats with exponents

65bd3ed130-Nov-2021 Jeremy Soller <jeremy@system76.com>

Fixes for program_invocation_name and program_invocation_short_name

0cd4e34902-Mar-2021 Jeremy Soller <jeremy@system76.com>

Formatting of tests runner

7fd366be02-Mar-2021 Jeremy Soller <jeremy@system76.com>

Convert test runner to rust

e3a0fdbc23-Feb-2021 Peter Limkilde Svendsen <peter.limkilde@gmail.com>

Test for time.h constants

02f202ff14-Jan-2021 Mateusz Tabaka <tab.debugteam@gmail.com>

Use BufWriter (instead of LineWriter) for FILEs other than stdout and stderr

BufWriter has more capacity (8k vs 1k) and doesn't flush the stream after '\n'.
That change helps to reduce the number of

Use BufWriter (instead of LineWriter) for FILEs other than stdout and stderr

BufWriter has more capacity (8k vs 1k) and doesn't flush the stream after '\n'.
That change helps to reduce the number of syscalls, especially when dealing with text files.

Since BufWriter has a different way of getting number of pending elements than LineWriter -
Pending trait was introduced to deal with that.

show more ...

ccee7eae05-Jan-2021 Jeremy Soller <jackpot51@gmail.com>

Merge branch 'tlssym' into 'master'

Fix dlsym of TLS variables

See merge request redox-os/relibc!327

19ac34f205-Jan-2021 Mateusz Tabaka <tab.debugteam@gmail.com>

Extend dlfcn tests

6332828729-Dec-2020 Mateusz Tabaka <tab.debugteam@gmail.com>

Call DSO destructors during exit()

021a8e0003-Jan-2021 Mateusz Tabaka <tab.debugteam@gmail.com>

Fix stdio/scanf test case

inner_scanf prematurely exited before parsing collected string

a7480ea629-Dec-2020 Mateusz Tabaka <tab.debugteam@gmail.com>

Fix global symbols relocations

Instead of a single source of symbols, now linker keeps a list of DSO (former Library) objects
with their own symbols map. That helps to process R_X86_64_COPY relocati

Fix global symbols relocations

Instead of a single source of symbols, now linker keeps a list of DSO (former Library) objects
with their own symbols map. That helps to process R_X86_64_COPY relocations correctly.
For example, if 'a.out' executable with dependencies ['libstdc++.so', 'libc.so'] is being loaded
and 'a.out' uses 'stdout' symbol from 'libc.so', its relocation process goes as follows:
- linker processes relocation entry 'stdout' of type R_X86_64_GLOB_DAT from 'libc.so',
- it goes through object list ['a.out', 'libstdc++.so', 'libc.so'] to find first object
that exports 'stdout' symbol. The symbol is in 'a.out' with the value e.g. '0x404070',
- linker sets 'stdout' symbol GOT entry in 'libc.so' to '0x404070',
....
- linker processes relocation entry 'stdout' of type R_X86_64_COPY from 'a.out',
- it goes through object list excluding 'a.out': ['libstdc++.so', 'libc.so']. The symbol is found in 'libc.so',
- linker copies the 'stdout' symbol content from 'libc.so' to memory at address '0x404070' (in 'a.out' object).

Objects are relocated in reverse order they were loaded. So in the example above, linker starts with relocating
'libc.so' and ends with 'a.out'. It is necessary e.g. when linking with 'libstdc++.so' - there are many
relocations which symbols are found in 'libstdc++.so', so they need to be resolved before their contents are
copied to 'a.out'. That also matches GNU ld.so behavior.

show more ...

1a0edd8e24-Dec-2020 Jeremy Soller <jeremy@system76.com>

Add program_invocation_short_name

5efaffe023-Dec-2020 Jeremy Soller <jeremy@system76.com>

Ensure that nul test is passed after last commit and failed before

3e49323a02-Oct-2020 Jeremy Soller <jackpot51@gmail.com>

Merge branch 'dlopen' into 'master'

Add support for dlopen(NULL, ...)

See merge request redox-os/relibc!315

eee9a80b01-Oct-2020 Mateusz Tabaka <tab.debugteam@gmail.com>

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 inde

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

show more ...

c11aad7129-Sep-2020 Mateusz Tabaka <tab.debugteam@gmail.com>

Add support for dlopen(NULL, ...)

675101ac29-Sep-2020 Mateusz Tabaka <tab.debugteam@gmail.com>

Add tests for dynamic linker

00642dd916-Sep-2020 Peter Limkilde Svendsen <peter.limkilde@gmail.com>

Test extreme tm member values

2ed55a9208-Sep-2020 Jeremy Soller <jackpot51@gmail.com>

Merge branch 'gmtime-refactor' into 'master'

Refactor gmtime_r(), fix localtime() test

See merge request redox-os/relibc!309

12345678910>>...15