--- trunk/mkinitrd-magellan/busybox/testsuite/date/date-works-1 2010/04/29 20:38:48 983 +++ trunk/mkinitrd-magellan/busybox/testsuite/date/date-works-1 2010/05/30 11:32:42 984 @@ -42,12 +42,12 @@ # date (GNU coreutils) 6.10 reports: # date: invalid date '012311332000' -dt=`busybox date -d 012311332000 +%c` +dt=`busybox date -d 200001231133 +%c` test x"$dt" = x"Sun Jan 23 11:33:00 2000" # date (GNU coreutils) 6.10 reports: # date: invalid date '012311332000' -dt=`busybox date -d 012311332000.30 +%c` +dt=`busybox date -d 200001231133.30 +%c` test x"$dt" = x"Sun Jan 23 11:33:30 2000" lcbbd="LC_ALL=C busybox date" @@ -126,4 +126,4 @@ # This should error out (by showing usage text). Testing for that dt=`busybox date -d 012311332000.30 %+c 2>&1 | head -n 1` -test x"${dt#BusyBox * multi-call binary}" = x +test x"${dt##BusyBox * multi-call binary*}" = x""