Displaying 1 result from an estimated 1 matches for "test_pwd_sources".
Did you mean:
test_nbd_sources
2012 Dec 13
1
[PATCH] daemon: fix directory outside current root when executing commands
...ck_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..60b978c
--- /dev/null
+++ b/tests/c-api/test-pwd.c
@@ -0,0 +1,35 @@
+/* libgu...