diff options
author | mslifcak <slifcan@gmail.com> | 2017-05-31 16:40:39 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2017-05-31 16:40:39 +0300 |
commit | 8d2b3a202f06bd7cd8055fbe3d5ef7e547d6bb14 (patch) | |
tree | b8b22dda5f8cdeffe7ae82dae2dac9215f436932 /include/tests_boot_services | |
parent | 360be2a700166576ab7971bb0cbe3337a7f1a5cb (diff) |
A250 2 (#398)
* fix missing ROOTDIR prefix
* sort list of services before processing
* sort list of certificates before processing
* sort list of startup scripts before processing
* spell check
* remove possessive pronoun
Diffstat (limited to 'include/tests_boot_services')
-rw-r--r-- | include/tests_boot_services | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_boot_services b/include/tests_boot_services index 6705ebf3..e9797405 100644 --- a/include/tests_boot_services +++ b/include/tests_boot_services @@ -634,7 +634,7 @@ if [ -d ${DIR} ]; then LogText "Result: directory ${DIR} found" LogText "Test: checking for available files in directory" - FIND=$(${FINDBINARY} ${DIR} -type f -print) + FIND=$(${FINDBINARY} ${DIR} -type f -print | ${SORTBINARY}) if [ ! -z "${FIND}" ]; then LogText "Result: found files in directory, checking permissions now" for FILE in ${FIND}; do @@ -658,7 +658,7 @@ for NO in 0 1 2 3 4 5 6; do LogText "Test: Checking ${ROOTDIR}etc/rc${NO}.d scripts for writable bit" if [ -d ${ROOTDIR}etc/rc${NO}.d ]; then - FIND=$(${FINDBINARY} ${ROOTDIR}etc/rc${NO}.d -type f -print) + FIND=$(${FINDBINARY} ${ROOTDIR}etc/rc${NO}.d -type f -print | ${SORTBINARY}) for I in ${FIND}; do if IsWorldWritable ${I}; then FOUND=1 |