]> granicus.if.org Git - strace/commit
tests: make test executables invocable outside current work directory
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 1 Apr 2017 23:11:28 +0000 (23:11 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 3 Apr 2017 01:06:11 +0000 (01:06 +0000)
commit3e15e018efc5ed08eba647305ebd70e695a50967
tree392f84fb04220e02edc00f4d1bcf8b6bec08047e
parentc5c64110a8158e5227b1ade518e1cc35fe398d22
tests: make test executables invocable outside current work directory

Most of test executables were ready for the upcoming change,
this change prepares all the rest.

* tests/getdents.c (main): Use fixed name for the sample directory.
* tests/getdents64.c (main): Likewise.
* tests/readdir.c (main): Likewise.
* tests/mknod.c (sample): Change to a pointer.
(main): Use av[0] as a sample.
* tests/symlink.c (main): Use av[0] as a linkpath.
* tests/umode_t.c (sample): Change to a pointer.
(test_syscall): Fix expected output.
(main): Use av[0] as a sample.
tests/getdents.c
tests/getdents64.c
tests/mknod.c
tests/readdir.c
tests/symlink.c
tests/umode_t.c