summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/file-CHMOD/CHMOD-no-perms.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/file-CHMOD/CHMOD-no-perms.cmake')
-rw-r--r--Tests/RunCMake/file-CHMOD/CHMOD-no-perms.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/file-CHMOD/CHMOD-no-perms.cmake b/Tests/RunCMake/file-CHMOD/CHMOD-no-perms.cmake
new file mode 100644
index 000000000..9fbd3599d
--- /dev/null
+++ b/Tests/RunCMake/file-CHMOD/CHMOD-no-perms.cmake
@@ -0,0 +1,5 @@
+file(REMOVE_RECURSE ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests)
+file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests)
+
+file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests/a)
+file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests/a PERMISSIONS)