mirror of
https://https.git.savannah.gnu.org/git/diffutils.git
synced 2026-01-26 15:03:22 +00:00
* tests/ignore-case: Don't compare 'Ⓐ' with 'ⓐ'; this doesn't work on NetBSD 10.0 and Solaris 11.4. Don't compare 'Ꞻ' with 'ꞻ'; this doesn't work on CentOS 7, macOS, and Solaris 11 OmniOS.
27 lines
482 B
Bash
Executable File
27 lines
482 B
Bash
Executable File
#!/bin/sh
|
||
# Test ignoring case
|
||
|
||
. "${srcdir=.}/init.sh"; path_prepend_ ../src
|
||
|
||
fail=0
|
||
|
||
printf 'Funky Stuff\n' >a
|
||
printf 'fUNKy stuFf\n' >b
|
||
|
||
diff -i a b >out || fail=1
|
||
compare /dev/null out || fail=1
|
||
|
||
require_utf8_locale_
|
||
|
||
echo 'AĀȀΆΑАӐḀἈA𐐀-Δ' >a
|
||
echo 'aāȁάαаӑḁἀa𐐨-δ' >b
|
||
|
||
diff -i a b >out || fail=1
|
||
compare /dev/null out || fail=1
|
||
|
||
mkdir d || framework_failure_
|
||
touch f d/F || framework_failure_
|
||
diff --ignore-file-name-case f d || fail=1
|
||
|
||
Exit $fail
|