[gnome-autoar/wip/oholy/extractor-one-file-same-name-fix: 6/6] tests: Skip conflicting files by default over test-extract
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-autoar/wip/oholy/extractor-one-file-same-name-fix: 6/6] tests: Skip conflicting files by default over test-extract
- Date: Tue, 25 May 2021 05:27:58 +0000 (UTC)
commit f41f752e4c03335e089b3bb6d9cbe01c24456946
Author: Ondrej Holy <oholy redhat com>
Date: Mon May 10 15:05:12 2021 +0200
tests: Skip conflicting files by default over test-extract
By default, the conflicting files are skipped and this default behavior is
also used by Nautilus and other clients. However, the `test-extract` util
overwrites the files instead. Let's honor the default behavior here as well
to make debugging easier.
tests/test-extract.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/test-extract.c b/tests/test-extract.c
index 660e18f..f92c999 100644
--- a/tests/test-extract.c
+++ b/tests/test-extract.c
@@ -65,7 +65,7 @@ my_handler_conflict (AutoarExtractor *extractor,
g_print ("Conflict on: %s\n", path);
- return AUTOAR_CONFLICT_OVERWRITE;
+ return AUTOAR_CONFLICT_UNHANDLED;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]