ref: 8da648a8d1939d68e40c0fc351c5a9b8beb3f16d
dir: /sys/src/cmd/test/zones.rc/
#!/bin/rc rfork en msg=() for(f in /adm/timezone/*){ if(! ~ $f /adm/timezone/README){ cat $f >/env/timezone tm=`{../$O.date -f'WW, DD MMM YYYY hh:mm:ss Z'} x=`{../$O.date -n} y=`{../$O.seconds $"tm} if(! ~ $x $y){ echo $f $tm $x $y are not equal msg=($msg $f) } } } exit $"msg