tests: avoid actual/expected mismatch due to changed diagnostic
authorJim Meyering <meyering@fb.com>
Thu, 7 Feb 2013 17:43:41 +0000 (09:43 -0800)
committerJim Meyering <jim@meyering.net>
Thu, 7 Feb 2013 19:02:45 +0000 (20:02 +0100)
* 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.

.mailmap
tests/cp/fail-perm.sh
tests/ln/hard-to-sym.sh

index 8b62317..dcabcb5 100644 (file)
--- a/.mailmap
+++ b/.mailmap
@@ -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>
index 29c119b..8665449 100755 (executable)
@@ -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
index bfe4270..26de099 100755 (executable)
@@ -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