| 1 |
#!/bin/sh |
| 2 |
# In diff 3.4 through 3.8, this would output the wrong timezone on Solaris. |
| 3 |
|
| 4 |
. "${srcdir=.}/init.sh"; path_prepend_ ../src |
| 5 |
|
| 6 |
fail=0 |
| 7 |
|
| 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 |
| 13 |
|
| 14 |
Exit $fail |