fixed bug in running tests multiple times when copying/removing folder
authorImran Zaman <imran.zaman@intel.com>
Thu, 31 Oct 2013 09:54:06 +0000 (11:54 +0200)
committerImran Zaman <imran.zaman@intel.com>
Thu, 31 Oct 2013 09:54:06 +0000 (11:54 +0200)
test/lib/client-test.c

index 5aecc16..dd42065 100644 (file)
@@ -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);