Commit 5c4937c1 authored by Terje Rosten's avatar Terje Rosten

Bug#16395459 TEST AND RESULT FILES WITH EXECUTE BIT

Bug#16415173 CRLF INSTEAD OF LF IN SQL-BENCH SCRIPTS
      
Correct perms and converts from Windows style to UNIX style line endings on some files.
Fix perms on installed ini files.

(MySQL 5.5 version)
parent a44b4a18
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
#! /bin/bash
d="$MYSQLTEST_VARDIR/tmp/long_temporary_directory_path_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789" d="$MYSQLTEST_VARDIR/tmp/long_temporary_directory_path_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789"
test -d "$d" || mkdir "$d" test -d "$d" || mkdir "$d"
rm -f "$d"/* rm -f "$d"/*
#! /bin/bash
# This test requires a non-lowercase tmpdir directory on a case-sensitive # This test requires a non-lowercase tmpdir directory on a case-sensitive
# filesystem. # filesystem.
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
#! /usr/bin/perl
#### ####
#### Hello ... this is a heavily hacked script by Luuk #### Hello ... this is a heavily hacked script by Luuk
#### instead of printing the result it makes a nice gif #### instead of printing the result it makes a nice gif
......
# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
...@@ -56,12 +56,14 @@ IF(UNIX) ...@@ -56,12 +56,14 @@ IF(UNIX)
IF(script MATCHES ".ini") IF(script MATCHES ".ini")
SET(comp IniFiles) SET(comp IniFiles)
SET(permissions OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
ELSE() ELSE()
SET(comp Server_Scripts) SET(comp Server_Scripts)
SET(permissions OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
ENDIF() ENDIF()
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${script} INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${script}
DESTINATION ${inst_location} COMPONENT ${comp} DESTINATION ${inst_location} COMPONENT ${comp}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) PERMISSIONS ${permissions})
ENDFOREACH() ENDFOREACH()
IF(INSTALL_SUPPORTFILESDIR) IF(INSTALL_SUPPORTFILESDIR)
INSTALL(FILES magic DESTINATION ${inst_location} COMPONENT SupportFiles) INSTALL(FILES magic DESTINATION ${inst_location} COMPONENT SupportFiles)
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment