[gnome-autoar] tests: Don't delete files after unpacking them
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-autoar] tests: Don't delete files after unpacking them
- Date: Wed, 19 Jul 2017 13:46:32 +0000 (UTC)
commit bb867a435e3e3ac56d4e933b869aa15d93fa0256
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jul 18 18:17:47 2017 +0200
tests: Don't delete files after unpacking them
Test programs have no business doing this, and will likely delete files
that are necessary to debug gnome-autoar.
https://bugzilla.gnome.org/show_bug.cgi?id=785078
tests/test-extract.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-extract.c b/tests/test-extract.c
index 2655922..660e18f 100644
--- a/tests/test-extract.c
+++ b/tests/test-extract.c
@@ -106,7 +106,7 @@ main (int argc,
output = g_file_new_for_commandline_arg (argv[2]);
extractor = autoar_extractor_new (source, output);
- autoar_extractor_set_delete_after_extraction (extractor, TRUE);
+ autoar_extractor_set_delete_after_extraction (extractor, FALSE);
g_signal_connect (extractor, "scanned", G_CALLBACK (my_handler_scanned), NULL);
g_signal_connect (extractor, "decide-destination", G_CALLBACK (my_handler_decide_destination), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]