doc: rewrite the "Unusual File Names" section
[diffutils.git] / tests / timezone
blob52b9e1889f986707511a5521487877cd64d483fd
1 #!/bin/sh
2 # In diff 3.4 through 3.8, this would output the wrong timezone on Solaris.
4 . "${srcdir=.}/init.sh"; path_prepend_ ../src
6 fail=0
8 echo a >a || fail=1
9 case $(LC_ALL=C TZ=EST5 diff -u /dev/null a) in
10 *' -0500'*) ;;
11 *) fail=1 ;;
12 esac
14 Exit $fail