From: Imran Zaman Date: Thu, 31 Oct 2013 09:54:06 +0000 (+0200) Subject: fixed bug in running tests multiple times when copying/removing folder X-Git-Tag: upstream/1.0.8^2~114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06001971e76148bebf3d61090ec3bf6951b062cc;p=platform%2Fupstream%2Fgumd.git fixed bug in running tests multiple times when copying/removing folder --- 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);