1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-12 15:06:44 +02:00

tests: cp: ensure --debug output failure is diagnosed

* tests/cp/debug.sh: cp diagnostics are written to stdout,
so ensure output errors are diagnosed.
https://github.com/coreutils/coreutils/pull/192
This commit is contained in:
oech3
2026-02-12 16:32:19 +00:00
committed by Pádraig Brady
parent 78e97507e6
commit fc42e7d281

View File

@@ -29,4 +29,9 @@ touch file.cp || framework_failure_
cp --debug --update=none file file.cp >cp.out || fail=1
grep 'skipped' cp.out || fail=1
if test -w /dev/full && test -c /dev/full; then
returns_ 1 cp file file.cp2 --debug >/dev/full || fail=1
test -e file.cp2 || fail=1
fi
Exit $fail