-
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
Terje Rosten authoredProblem: 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