diff options
author | Dr. Tilmann Bubeck <t.bubeck@reinform.de> | 2013-10-09 23:38:15 +0200 |
---|---|---|
committer | Dr. Tilmann Bubeck <t.bubeck@reinform.de> | 2013-10-09 23:38:15 +0200 |
commit | f7425f45addce5629d338c051a41ec1a119ea51f (patch) | |
tree | 34e48607d29a90f5c96d26d294e2ca28cf10927a /tests | |
parent | c4356e8dc8b9fe039c38104551af93e0583ffbee (diff) |
Rewrote test_xauth to C to make automake and "make distclean" happy.
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); +} |