Skip to content
  • Terje Rosten's avatar
    1ddcfdec
    Bug#30139505 INNODB.REDO_LOG_ARCHIVE_04 USES PLATFORM SPECIFIC LS COMMAND TO CHECK PERMS · 1ddcfdec
    Terje Rosten authored
    Problem:
     The test innodb.redo_log_archive_04 does
    
     $ ls -log $IRLA_PATHNAME_1
    
     to check perms on a file, this is problematic as the ls command
     doesn't have stable output across platforms. An SELinux enabled
     system will include a extra . like this: -r--r--r--. Another example
     is ls in busybox (used by Alpine Linux) which doesn't have the o and
     g options.
    
    Fix:
     Convert get_file_permissions.inc to octal output and use this .inc
     file to convert the test to portable perl.
    
    Change-Id: Ic497f9313022473f7069312db448b4685fa0459e
    1ddcfdec
    Bug#30139505 INNODB.REDO_LOG_ARCHIVE_04 USES PLATFORM SPECIFIC LS COMMAND TO CHECK PERMS
    Terje Rosten authored
    Problem:
     The test innodb.redo_log_archive_04 does
    
     $ ls -log $IRLA_PATHNAME_1
    
     to check perms on a file, this is problematic as the ls command
     doesn't have stable output across platforms. An SELinux enabled
     system will include a extra . like this: -r--r--r--. Another example
     is ls in busybox (used by Alpine Linux) which doesn't have the o and
     g options.
    
    Fix:
     Convert get_file_permissions.inc to octal output and use this .inc
     file to convert the test to portable perl.
    
    Change-Id: Ic497f9313022473f7069312db448b4685fa0459e
Loading