"lzip -d".
}
/*
- * Can this platform run the lunzip program?
+ * Can this platform run the lzip program?
*/
int
-canLunzip(void)
+canLzip(void)
{
static int tested = 0, value = 0;
if (!tested) {
tested = 1;
- if (systemf("lunzip -V %s", redirectArgs) == 0)
+ if (systemf("lzip -V %s", redirectArgs) == 0)
value = 1;
}
return (value);
/* Return true if this platform can run the "lrzip" program. */
int canLrzip(void);
-/* Return true if this platform can run the "lunzip" program. */
-int canLunzip(void);
+/* Return true if this platform can run the "lzip" program. */
+int canLzip(void);
/* Return true if this platform can run the "unlzma" program. */
int canUnlzma(void);
extract_reference_file(reffile);
f = systemf("%s -it < %s >test.out 2>test.err", testprog, reffile);
- if (f == 0 || canLunzip()) {
+ if (f == 0 || canLzip()) {
assertEqualInt(0, systemf("%s -i < %s >test.out 2>test.err",
testprog, reffile));
{
int r;
- r = __archive_read_program(self, "lunzip");
+ r = __archive_read_program(self, "lzip -d");
/* Note: We set the format here even if __archive_read_program()
* above fails. We do, after all, know what the format is
* even if we weren't able to read it. */
}
/*
- * Can this platform run the lunzip program?
+ * Can this platform run the lzip program?
*/
int
-canLunzip(void)
+canLzip(void)
{
static int tested = 0, value = 0;
if (!tested) {
tested = 1;
- if (systemf("lunzip -V %s", redirectArgs) == 0)
+ if (systemf("lzip -V %s", redirectArgs) == 0)
value = 1;
}
return (value);
/* Return true if this platform can run the "lrzip" program. */
int canLrzip(void);
-/* Return true if this platform can run the "lunzip" program. */
-int canLunzip(void);
+/* Return true if this platform can run the "lzip" program. */
+int canLzip(void);
/* Return true if this platform can run the "unlzma" program. */
int canUnlzma(void);
}
/*
- * Can this platform run the lunzip program?
+ * Can this platform run the lzip program?
*/
int
-canLunzip(void)
+canLzip(void)
{
static int tested = 0, value = 0;
if (!tested) {
tested = 1;
- if (systemf("lunzip -V %s", redirectArgs) == 0)
+ if (systemf("lzip -V %s", redirectArgs) == 0)
value = 1;
}
return (value);
/* Return true if this platform can run the "lrzip" program. */
int canLrzip(void);
-/* Return true if this platform can run the "lunzip" program. */
-int canLunzip(void);
+/* Return true if this platform can run the "lzip" program. */
+int canLzip(void);
/* Return true if this platform can run the "unlzma" program. */
int canUnlzma(void);
extract_reference_file(reffile);
f = systemf("%s -tf %s >test.out 2>test.err", testprog, reffile);
- if (f == 0 || canLunzip()) {
+ if (f == 0 || canLzip()) {
assertEqualInt(0, systemf("%s -xf %s >test.out 2>test.err",
testprog, reffile));