return (value);
}
-/*
- * Can this platform run the lrunzip program?
- */
-int
-canLrunzip(void)
-{
- static int tested = 0, value = 0;
- if (!tested) {
- tested = 1;
- if (systemf("lrunzip -V %s", redirectArgs) == 0)
- value = 1;
- }
- return (value);
-}
-
/*
* Can this platform run the lunzip program?
*/
/* Return true if this platform can run the "lrzip" program. */
int canLrzip(void);
-/* Return true if this platform can run the "lrunzip" program. */
-int canLrunzip(void);
-
/* Return true if this platform can run the "lunzip" program. */
int canLunzip(void);
return (value);
}
-/*
- * Can this platform run the lrunzip program?
- */
-int
-canLrunzip(void)
-{
- static int tested = 0, value = 0;
- if (!tested) {
- tested = 1;
- if (systemf("lrunzip -V %s", redirectArgs) == 0)
- value = 1;
- }
- return (value);
-}
-
/*
* Can this platform run the lunzip program?
*/
/* Return true if this platform can run the "lrzip" program. */
int canLrzip(void);
-/* Return true if this platform can run the "lrunzip" program. */
-int canLrunzip(void);
-
/* Return true if this platform can run the "lunzip" program. */
int canLunzip(void);
return (value);
}
-/*
- * Can this platform run the lrunzip program?
- */
-int
-canLrunzip(void)
-{
- static int tested = 0, value = 0;
- if (!tested) {
- tested = 1;
- if (systemf("lrunzip -V %s", redirectArgs) == 0)
- value = 1;
- }
- return (value);
-}
-
/*
* Can this platform run the lunzip program?
*/
/* Return true if this platform can run the "lrzip" program. */
int canLrzip(void);
-/* Return true if this platform can run the "lrunzip" program. */
-int canLrunzip(void);
-
/* Return true if this platform can run the "lunzip" program. */
int canLunzip(void);
extract_reference_file(reffile);
f = systemf("%s -tf %s >test.out 2>test.err", testprog, reffile);
- if (f == 0 || canLrunzip()) {
+ if (f == 0 || canLrzip()) {
assertEqualInt(0, systemf("%s -xf %s >test.out 2>test.err",
testprog, reffile));