summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lisp/dired-aux-tests.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/dired-aux-tests.el b/test/lisp/dired-aux-tests.el
index 5888f4cd993..af0d8b09366 100644
--- a/test/lisp/dired-aux-tests.el
+++ b/test/lisp/dired-aux-tests.el
@@ -160,12 +160,16 @@
(ert-deftest dired-test-bug47058-tar ()
"test for https://debbugs.gnu.org/47058 ."
+ (skip-unless (and (executable-find "tar")
+ (executable-find "gzip")))
(dired-test-bug47058-fn "tar -cf - %i | gzip -c9 > %o"
"gzip -dc %i | tar -xf - -C %c"
".tar.gz"))
(ert-deftest dired-test-bug47058-zip ()
"test for https://debbugs.gnu.org/47058 ."
+ (skip-unless (and (executable-find "zip")
+ (executable-find "unzip")))
(dired-test-bug47058-fn "zip %o -r --filesync %i"
"unzip -o -d %o %i"
".zip"))