summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLineTar/pax-xz.cmake
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2015-04-07 17:40:33 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-10 12:32:32 (GMT)
commit6c4781baa9ea4cfb7b4de9ef91e58888286fab44 (patch)
tree992b9334ad833f69543702c50d1166ff1b2c06e4 /Tests/RunCMake/CommandLineTar/pax-xz.cmake
parentfd04d87323749c15969982d9aa9b72059f33463b (diff)
downloadCMake-6c4781baa9ea4cfb7b4de9ef91e58888286fab44.zip
CMake-6c4781baa9ea4cfb7b4de9ef91e58888286fab44.tar.gz
CMake-6c4781baa9ea4cfb7b4de9ef91e58888286fab44.tar.bz2
Tests: Consolidate, refactor and extend -E tar tests
Diffstat (limited to 'Tests/RunCMake/CommandLineTar/pax-xz.cmake')
-rw-r--r--Tests/RunCMake/CommandLineTar/pax-xz.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLineTar/pax-xz.cmake b/Tests/RunCMake/CommandLineTar/pax-xz.cmake
new file mode 100644
index 0000000..baf63d5
--- /dev/null
+++ b/Tests/RunCMake/CommandLineTar/pax-xz.cmake
@@ -0,0 +1,10 @@
+set(OUTPUT_NAME "test.tar.xz")
+
+set(COMPRESSION_FLAGS cvJf)
+set(COMPRESSION_OPTIONS --format=pax)
+
+set(DECOMPRESSION_FLAGS xvJf)
+
+include(${CMAKE_CURRENT_LIST_DIR}/roundtrip.cmake)
+
+check_magic("fd377a585a00" LIMIT 6 HEX)