linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.31k stars 1.01k forks source link

Refactor mknod09 with new api #1146

Closed ilmanzo closed 6 months ago

ilmanzo commented 6 months ago

Verify that, mknod() fails with -1 and sets errno to EINVAL if the mode is different than a normal file, device special file or FIFO.

Expected Result: mknod() should fail with return value -1 and sets expected errno.

pevik commented 6 months ago

Merged with further cleanup. Thanks!