diff options
author | Stef Walter <stefw@gnome.org> | 2015-04-08 14:07:44 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2015-04-08 14:09:11 +0200 |
commit | 55e0b1a607bec29b5c0711741765250742c79666 (patch) | |
tree | 1160558b3d03c2da0ec512731e398128ffc683b7 /egg | |
parent | 993100c570dd99723254006adb5219838bbd1e1d (diff) | |
download | gnome-keyring-55e0b1a607bec29b5c0711741765250742c79666.tar.gz |
egg: Don't crash tests if test directory was removed
It's okay if the directory is gone, it may have been
removed by a test.
Diffstat (limited to 'egg')
-rw-r--r-- | egg/egg-testing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/egg/egg-testing.c b/egg/egg-testing.c index 0db594ef..52f82902 100644 --- a/egg/egg-testing.c +++ b/egg/egg-testing.c @@ -285,7 +285,7 @@ egg_tests_create_scratch_directory (const gchar *file_to_copy, void egg_tests_remove_scratch_directory (const gchar *directory) { - gchar *argv[] = { "rm", "-r", (gchar *)directory, NULL }; + gchar *argv[] = { "rm", "-rf", (gchar *)directory, NULL }; GError *error = NULL; gint rm_status; |