Remove test that is outside the specification.
authorBruno Haible <bruno@clisp.org>
Thu, 27 Aug 2009 21:31:13 +0000 (23:31 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 27 Aug 2009 21:31:13 +0000 (23:31 +0200)
ChangeLog
tests/test-bitrotate.c

index 63e05d1..0a1297d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-08-27  Bruno Haible  <bruno@clisp.org>
 
+       * tests/test-bitrotate.c (main): Remove test that uses a shift count
+       of 0.
+
+2009-08-27  Bruno Haible  <bruno@clisp.org>
+
        * tests/test-func.c (main): Don't verify sizeof __func__ on SunPRO C
        compilers.
        * doc/func.texi: Document the SunPRO C bug.
index 5ebf60f..15c3785 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of <bitrotate.h> substitute.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -224,7 +224,6 @@ main (void)
   ASSERT (rotl64 (16045690984503098046ULL, 62) == 13234794782980550319ULL);
   ASSERT (rotl64 (16045690984503098046ULL, 63) == 8022845492251549023ULL);
 
-  ASSERT (rotr64 (16045690984503098046ULL, 0) == 16045690984503098046ULL);
   ASSERT (rotr64 (16045690984503098046ULL, 1) == 8022845492251549023ULL);
   ASSERT (rotr64 (16045690984503098046ULL, 2) == 13234794782980550319ULL);
   ASSERT (rotr64 (16045690984503098046ULL, 3) == 15840769428345050967ULL);