diff options
Diffstat (limited to 'tests/mv/part-symlink')
-rwxr-xr-x | tests/mv/part-symlink | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/mv/part-symlink b/tests/mv/part-symlink index c05ec7b98..cab02bfc1 100755 --- a/tests/mv/part-symlink +++ b/tests/mv/part-symlink @@ -80,10 +80,9 @@ for copy in cp mv; do $copy $options $args 2>.err echo $? $copy $options $args - # Normalize the program name in the error output, # and put brackets around the output. - test -s .err && echo "[`sed 's/^[^:][^:]*:/cp:/' .err`]" + test -s .err && echo "[`sed 's/^[^:][^:]*\(..\):/\1:/' .err`]" # Strip off all but the file names. ls="`ls -lG --ignore=.err . \ | sed \ |