]> Dogcows Code - chaz/tar/blobdiff - tests/before
New options: --utc and keep-newer-files
[chaz/tar] / tests / before
index 43479221804947355f9d8b1c103350c03d614bb8..5733c4111d6cc9206afc6d25ee625e9ceae0dec7 100755 (executable)
@@ -17,3 +17,22 @@ exec 1> stdout
 exec 2> stderr
 
 PATH=..:../../src:$PATH
+    
+prereq() {
+    if test $# -ne 0; then
+        case $TAR_OPTIONS in
+            --format=*)   FMTOPT=$TAR_OPTIONS;;
+            *)            FMTOPT=`tar --show-defaults`;;
+        esac
+
+        FORMAT=
+        for option
+        do
+            case $FMTOPT in
+                --format=$option*) FORMAT=$option
+                                          break;;
+            esac
+        done
+        test -z "$FORMAT" && exit 77
+    fi
+}
\ No newline at end of file
This page took 0.019783 seconds and 4 git commands to generate.