[gcr] gcr: Avoid prompts when running 'make distcheck'



commit 0d75897c754f3131ac50d55c9f26810bd89bff44
Author: Stef Walter <stefw redhat com>
Date:   Sat Apr 19 22:33:10 2014 +0200

    gcr: Avoid prompts when running 'make distcheck'

 gcr/test-gnupg-collection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gcr/test-gnupg-collection.c b/gcr/test-gnupg-collection.c
index d10661f..c936539 100644
--- a/gcr/test-gnupg-collection.c
+++ b/gcr/test-gnupg-collection.c
@@ -115,7 +115,7 @@ teardown (Test *test, gconstpointer unused)
 
        g_object_unref (test->collection);
 
-       cmd = g_strdup_printf ("rm %s/*", test->directory);
+       cmd = g_strdup_printf ("rm -f %s/*", test->directory);
        g_spawn_check_exit_status (system (cmd), &error);
        g_assert_no_error (error);
        g_free (cmd);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]