diff options
author | Brad King <brad.king@kitware.com> | 2022-07-18 21:43:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-07-20 20:03:12 (GMT) |
commit | 11a0f72ac0aa0553d61f7a72e839ec7e88460268 (patch) | |
tree | 12e915a7e5b37998dfa838d402272e87645beec6 /Tests/RunCMake/file-CHMOD/invalid-perms.cmake | |
parent | c2c111948ce5fc7b651e573c57d53ffadf73a04c (diff) | |
download | CMake-11a0f72ac0aa0553d61f7a72e839ec7e88460268.zip CMake-11a0f72ac0aa0553d61f7a72e839ec7e88460268.tar.gz CMake-11a0f72ac0aa0553d61f7a72e839ec7e88460268.tar.bz2 |
Tests: Simplify RunCMake.file-CHMOD case names
The `CHMOD-` prefix is redundant with the overall test name.
Diffstat (limited to 'Tests/RunCMake/file-CHMOD/invalid-perms.cmake')
-rw-r--r-- | Tests/RunCMake/file-CHMOD/invalid-perms.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/file-CHMOD/invalid-perms.cmake b/Tests/RunCMake/file-CHMOD/invalid-perms.cmake new file mode 100644 index 0000000..22cab0b --- /dev/null +++ b/Tests/RunCMake/file-CHMOD/invalid-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 INVALID_PERMISSION) |