formatting-cleanup #6

Merged
label merged 3 commits from :formatting-cleanup into devel 2022-11-22 03:11:15 +00:00
Showing only changes of commit 3c3e3d2096 - Show all commits

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"