tweak the times in the testsuite so it doesn’t matter whether we use leap seconds...
authortg <tg@mirbsd.org>
Sat, 10 Dec 2011 15:18:50 +0000 (15:18 +0000)
committertg <tg@mirbsd.org>
Sat, 10 Dec 2011 15:18:50 +0000 (15:18 +0000)
src/sanity.sh

index 9813fe1..9498f85 100644 (file)
@@ -23606,25 +23606,19 @@ EOF
            continue
          fi
 
+         # times have been tweaked so leap seconds don't matter
          cat <<EOF >$CVSROOT_DIRNAME/CVSROOT/history
-O3395c677|anonymous|<remote>/*0|ccvs||ccvs
+O3395c684|anonymous|<remote>/*0|ccvs||ccvs
 O3396c677|anonymous|<remote>/src|ccvs||src
 O3397c677|kingdon|<remote>/*0|ccvs||ccvs
 M339cafae|nk|<remote>|ccvs/src|1.229|sanity.sh
-M339cafff|anonymous|<remote>|ccvs/src|1.23|Makefile
+M339cb00c|anonymous|<remote>|ccvs/src|1.23|Makefile
 M339dc339|kingdon|~/work/*0|ccvs/src|1.231|sanity.sh
 W33a6eada|anonymous|<remote>*4|ccvs/emx||Makefile.in
 C3b235f50|kingdon|<remote>|ccvs/emx|1.3|README
-M3b23af50|kingdon|~/work/*0|ccvs/doc|1.281|cvs.texinfo
+M3b23af62|kingdon|~/work/*0|ccvs/doc|1.281|cvs.texinfo
 EOF
 
-       # workaround for time_t vs. leapseconds
-       if test -n "$GETDATE_LD_PRELOAD"; then
-               save_LD_PRELOAD=$LD_PRELOAD
-               LD_PRELOAD=$GETDATE_LD_PRELOAD
-               export LD_PRELOAD
-       fi
-
          dotest history-1 "${testcvs} history -e -a" \
 "O 1997-06-04 19:48 ${PLUS}0000 anonymous ccvs     =ccvs= <remote>/\*
 O 1997-06-05 14:00 ${PLUS}0000 anonymous ccvs     =src=  <remote>/\*
@@ -23689,12 +23683,6 @@ O 1997-06-06 08:12 ${PLUS}0000 kingdon   ccvs =ccvs= <remote>/\*"
 "O 1997-06-04 19:48 ${PLUS}0000 anonymous ccvs =ccvs= <remote>/\*
 O 1997-06-05 14:00 ${PLUS}0000 anonymous ccvs =src=  <remote>/\*
 O 1997-06-06 08:12 ${PLUS}0000 kingdon   ccvs =ccvs= <remote>/\*"
-
-       test -n "$GETDATE_LD_PRELOAD" && if test -n "$save_LD_PRELOAD"; then
-               LD_PRELOAD=$save_LD_PRELOAD
-       else
-               unset LD_PRELOAD
-       fi
          ;;