mirror of
https://github.com/uutils/coreutils
synced 2024-10-01 13:35:03 +00:00
Update a GNU test error check - tests/cp/fail-perm.sh
This commit is contained in:
parent
be816027ae
commit
932ea96cb6
|
@ -198,6 +198,10 @@ sed -i "s|grep '^#define HAVE_CAP 1' \$CONFIG_HEADER > /dev/null|true|" tests/l
|
|||
sed -i 's|touch |/usr/bin/touch |' tests/cp/reflink-perm.sh tests/ls/block-size.sh tests/mv/update.sh tests/ls/ls-time.sh tests/stat/stat-nanoseconds.sh tests/misc/time-style.sh tests/test/test-N.sh tests/ls/abmon-align.sh
|
||||
sed -i 's|ln -|/usr/bin/ln -|' tests/cp/link-deref.sh
|
||||
|
||||
# our messages are better
|
||||
sed -i "s|cannot stat 'symlink': Permission denied|not writing through dangling symlink 'symlink'|" tests/cp/fail-perm.sh
|
||||
sed -i "s|cp: target directory 'symlink': Permission denied|cp: 'symlink' is not a directory|" tests/cp/fail-perm.sh
|
||||
|
||||
# Workaround https://github.com/uutils/coreutils/issues/5766
|
||||
# to transform an ERROR into FAIL
|
||||
sed -i 's|xargs mkdir )|xargs mkdir -p )|' tests/cp/link-heap.sh
|
||||
|
|
Loading…
Reference in a new issue