summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLineTar/zip.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/zip.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/zip.cmake')
-rw-r--r--Tests/RunCMake/CommandLineTar/zip.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLineTar/zip.cmake b/Tests/RunCMake/CommandLineTar/zip.cmake
new file mode 100644
index 0000000..08e2fdb
--- /dev/null
+++ b/Tests/RunCMake/CommandLineTar/zip.cmake
@@ -0,0 +1,10 @@
+set(OUTPUT_NAME "test.zip")
+
+set(COMPRESSION_FLAGS cvf)
+set(COMPRESSION_OPTIONS --format=zip)
+
+set(DECOMPRESSION_FLAGS xvf)
+
+include(${CMAKE_CURRENT_LIST_DIR}/roundtrip.cmake)
+
+check_magic("504b0304" LIMIT 4 HEX)