tests: avoid actual/expected mismatch due to changed diagnostic

* tests/cp/fail-perm.sh: Adjust expected diagnostic to match
just-changed cp diagnostic.
* tests/ln/hard-to-sym.sh: Likewise.
* .mailmap: Also map my new address.
This commit is contained in:
Jim Meyering
2013-02-07 09:43:41 -08:00
committed by Jim Meyering
parent 786db9ef54
commit 1f1f41db85
3 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
# Map git author names and email addresses to canonical/preferred form.
<jim@meyering.net> <meyering@fb.com>
<jim@meyering.net> <meyering@iou.iou>
<jim@meyering.net> <meyering@redhat.com>
<jim@meyering.net> <meyering@rho.meyering.net>

View File

@@ -38,7 +38,7 @@ chmod 0 D
ln -s D/D symlink
touch F
cat > exp <<\EOF
cp: accessing 'symlink': Permission denied
cp: failed to access 'symlink': Permission denied
EOF
cp F symlink 2> out && fail=1

View File

@@ -53,7 +53,7 @@ esac
ln -s /no-such-dir || framework_failure_
ln -L no-such-dir hard-to-dangle 2>err && fail=1
case $(cat err) in
*" accessing 'no-such-dir'":*) ;;
*" failed to access 'no-such-dir'":*) ;;
*) fail=1 ;;
esac
ln -P no-such-dir hard-to-dangle || fail=1