diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 2 | ||||
-rwxr-xr-x | tests/test_xauth | 3 | ||||
-rw-r--r-- | tests/test_xauth.c | 6 |
3 files changed, 8 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index ade0d24..7ce5dbf 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,6 +1,8 @@ ## Process this file with automake to produce Makefile.in TESTS = test_xauth +bin_PROGRAMS = test_xauth +test_xauth_SOURCES = test_xauth.c diff --git a/tests/test_xauth b/tests/test_xauth deleted file mode 100755 index be067ac..0000000 --- a/tests/test_xauth +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -exec cmdtest . diff --git a/tests/test_xauth.c b/tests/test_xauth.c new file mode 100644 index 0000000..f4265ce --- /dev/null +++ b/tests/test_xauth.c @@ -0,0 +1,6 @@ +#include <unistd.h> + +int main(int argc, char *argv[]) +{ + execlp("cmdtest", "cmdtest", ".", NULL); +} |