From: Jim Meyering Date: Thu, 7 Feb 2013 17:43:41 +0000 (-0800) Subject: tests: avoid actual/expected mismatch due to changed diagnostic X-Git-Tag: v8.21~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f1f41db85c559285c9969e1a1a3430a872d0722;p=platform%2Fupstream%2Fcoreutils.git 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. --- diff --git a/.mailmap b/.mailmap index 8b62317..dcabcb5 100644 --- a/.mailmap +++ b/.mailmap @@ -1,4 +1,5 @@ # Map git author names and email addresses to canonical/preferred form. + diff --git a/tests/cp/fail-perm.sh b/tests/cp/fail-perm.sh index 29c119b..8665449 100755 --- a/tests/cp/fail-perm.sh +++ b/tests/cp/fail-perm.sh @@ -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 diff --git a/tests/ln/hard-to-sym.sh b/tests/ln/hard-to-sym.sh index bfe4270..26de099 100755 --- a/tests/ln/hard-to-sym.sh +++ b/tests/ln/hard-to-sym.sh @@ -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