summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLineTar/gnutar.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CommandLineTar/gnutar.cmake')
-rw-r--r--Tests/RunCMake/CommandLineTar/gnutar.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLineTar/gnutar.cmake b/Tests/RunCMake/CommandLineTar/gnutar.cmake
new file mode 100644
index 0000000..aaca596
--- /dev/null
+++ b/Tests/RunCMake/CommandLineTar/gnutar.cmake
@@ -0,0 +1,10 @@
+set(OUTPUT_NAME "test.tar")
+
+set(COMPRESSION_FLAGS cvf)
+set(COMPRESSION_OPTIONS --format=gnutar)
+
+set(DECOMPRESSION_FLAGS xvf)
+
+include(${CMAKE_CURRENT_LIST_DIR}/roundtrip.cmake)
+
+check_magic("7573746172202000" OFFSET 257 LIMIT 8 HEX)