summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLineTar/paxr-bz2.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/paxr-bz2.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/paxr-bz2.cmake')
-rw-r--r--Tests/RunCMake/CommandLineTar/paxr-bz2.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLineTar/paxr-bz2.cmake b/Tests/RunCMake/CommandLineTar/paxr-bz2.cmake
new file mode 100644
index 0000000..881a0af
--- /dev/null
+++ b/Tests/RunCMake/CommandLineTar/paxr-bz2.cmake
@@ -0,0 +1,10 @@
+set(OUTPUT_NAME "test.tar.bz2")
+
+set(COMPRESSION_FLAGS cvjf)
+set(COMPRESSION_OPTIONS --format=paxr)
+
+set(DECOMPRESSION_FLAGS xvjf)
+
+include(${CMAKE_CURRENT_LIST_DIR}/roundtrip.cmake)
+
+check_magic("425a68" LIMIT 3 HEX)