Displaying 1 result from an estimated 1 matches for "test_command_sources".
2012 Dec 13
1
[PATCH] daemon: fix directory outside current root when executing commands
...a/tests/c-api/Makefile.am
+++ b/tests/c-api/Makefile.am
@@ -34,7 +34,8 @@ check_PROGRAMS = \
test-private-data \
test-user-cancel \
test-debug-to-file \
- test-environment
+ test-environment \
+ test-pwd
TESTS = \
tests \
@@ -80,6 +81,9 @@ tests_LDADD = $(top_builddir)/src/libguestfs.la
test_command_SOURCES = test-command.c
test_command_LDFLAGS = -all-static
+test_pwd_SOURCES = test-pwd.c
+test_pwd_LDFLAGS = -all-static
+
# Hand-written C API tests.
test_just_header_SOURCES = test-just-header.c
diff --git a/tests/c-api/test-pwd.c b/tests/c-api/test-pwd.c
new file mode 100644
index 0000000..60b9...