From 06001971e76148bebf3d61090ec3bf6951b062cc Mon Sep 17 00:00:00 2001 From: Imran Zaman Date: Thu, 31 Oct 2013 11:54:06 +0200 Subject: [PATCH] fixed bug in running tests multiple times when copying/removing folder --- test/lib/client-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/client-test.c b/test/lib/client-test.c index 5aecc16..dd42065 100644 --- a/test/lib/client-test.c +++ b/test/lib/client-test.c @@ -113,7 +113,7 @@ _setup_env (void) fail_if (system(cmd) != 0, "Failed to copy temp skel dir: %s\n", strerror(errno)); g_free (cmd); - fail_if (system("chmod +w /tmp/gum/skel") != 0); + fail_if (system("chmod -R +w /tmp/gum/skel") != 0); fpath = g_build_filename (GUM_TEST_DATA_DIR, "passwd", NULL); fail_if (_create_file (g_getenv("UM_PASSWD_FILE"), fpath) == FALSE); -- 2.7.4