]> sourceware.org Git - glibc.git/commit
misc: FUSE-based tests for mkstemp
authorFlorian Weimer <fweimer@redhat.com>
Sat, 21 Sep 2024 17:25:35 +0000 (19:25 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Sat, 21 Sep 2024 17:25:35 +0000 (19:25 +0200)
commite3db0a699c639e97deddcb15939fd9c162801c77
treead0cbb1d04e6b88f10ed37e268663e93063eb691
parente0f3bf10acf4aab27752847828bfecd3fce41190
misc: FUSE-based tests for mkstemp

The tests check that O_EXCL is used properly, that 0600 is used
as the mode, that the characters used are as expected, and that
the distribution of names generated is reasonably random.

The tests run very slowly on some kernel versions, so make them
xtests.

Reviewed-by: DJ Delorie <dj@redhat.com>
misc/Makefile
misc/tst-mkstemp-fuse-parallel.c [new file with mode: 0644]
misc/tst-mkstemp-fuse.c [new file with mode: 0644]
This page took 0.037473 seconds and 5 git commands to generate.