summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CommandLine/E_create_symlink-broken-replace-check.cmake
blob: d37df0169040c585890fad36e64877335500e52e (plain)
1
2
3
4
5
6
7
if(${actual_stderr_var} MATCHES "operation not permitted")
  unset(msg)
else()
  if(NOT IS_DIRECTORY ${RunCMake_TEST_BINARY_DIR}/L)
    set(RunCMake_TEST_FAILED "Symlink 'L' not replaced correctly!")
  endif()
endif()