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