Merge pull request 'formatting-cleanup' (#6) from stack/toolkit:formatting-cleanup into devel

Reviewed-on: #6
This commit is contained in:
Louis Abel 2022-11-22 03:11:14 +00:00
commit 29ca509d40
4 changed files with 10 additions and 3 deletions

View File

@ -150,6 +150,10 @@ security is important, actually work and function correctly.
With that said, There is no reason to disable integral security layers on your
system.
### Should EPEL be enabled?
No. The point is to test Rocky packages, not EPEL. There are also package
differences that will break (eg: nc -> nmap-ncat vs netcat).
Current Tree
------------
```

View File

@ -36,7 +36,7 @@ function r_processor() {
if [[ "$(basename ${file})" =~ README|^\.|^_ ]]; then
continue
fi
[ -x "${file}" ] && "${file}"
[ -x "${file}" ] && echo "Begin processing script: ${file}" && "${file}"
done
return 0
}

View File

@ -1,6 +1,7 @@
#!/bin/bash
r_log "archive" "Verifying gzip binaries"
echo -n "Processing; "
for bin in gunzip gzexe gzip zcat zcmp zdiff zegrep zfgrep zforce zgrep zless zmore znew; do
echo -n "$bin "
r_log "archive" "$bin"

View File

@ -11,8 +11,10 @@ PASSER=/var/tmp/cpio/pass
r_log "cpio" "Test basic copy out"
mkdir -p "$OUTTER" "$INNER" "$PASSER"
# Ensure at least one file exists in /tmp to prevent errors.
echo 1 > $(mktemp)
# shellcheck disable=2012
ls /tmp | cpio -o > "$OUTTER"/cpio.out
find /tmp -type f | cpio -o > "$OUTTER"/cpio.out 2> /dev/null
r_checkExitStatus $?
r_log "cpio" "Test basic copy in"