summaryrefslogtreecommitdiffstats
path: root/libarchive/test/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test.h')
-rw-r--r--libarchive/test/test.h30
1 files changed, 28 insertions, 2 deletions
diff --git a/libarchive/test/test.h b/libarchive/test/test.h
index 7d2f208..7ca2da7 100644
--- a/libarchive/test/test.h
+++ b/libarchive/test/test.h
@@ -266,11 +266,32 @@ void sleepUntilAfter(time_t);
/* Return true if this platform can create symlinks. */
int canSymlink(void);
+/* Return true if this platform can run the "bzip2" program. */
+int canBzip2(void);
+
+/* Return true if this platform can run the "grzip" program. */
+int canGrzip(void);
+
/* Return true if this platform can run the "gzip" program. */
int canGzip(void);
-/* Return true if this platform can run the "gunzip" program. */
-int canGunzip(void);
+/* Return true if this platform can run the specified command. */
+int canRunCommand(const char *);
+
+/* Return true if this platform can run the "lrzip" program. */
+int canLrzip(void);
+
+/* Return true if this platform can run the "lzip" program. */
+int canLzip(void);
+
+/* Return true if this platform can run the "lzma" program. */
+int canLzma(void);
+
+/* Return true if this platform can run the "lzop" program. */
+int canLzop(void);
+
+/* Return true if this platform can run the "xz" program. */
+int canXz(void);
/* Return true if this filesystem can handle nodump flags. */
int canNodump(void);
@@ -285,6 +306,11 @@ char *slurpfile(size_t *, const char *fmt, ...);
/* Extracts named reference file to the current directory. */
void extract_reference_file(const char *);
+/* Extracts a list of files to the current directory.
+ * List must be NULL terminated.
+ */
+void extract_reference_files(const char **);
+
/* Path to working directory for current test */
const char *testworkdir;
OpenPOWER on IntegriCloud