[pypy-svn] r75047 - pypy/trunk/pypy/translator/c/test

arigo at codespeak.net arigo at codespeak.net
Thu Jun 3 15:37:48 CEST 2010


Author: arigo
Date: Thu Jun  3 15:37:46 2010
New Revision: 75047

Modified:
   pypy/trunk/pypy/translator/c/test/test_standalone.py
Log:
Add an assert that fails when we run this with pypy instead of cpython.


Modified: pypy/trunk/pypy/translator/c/test/test_standalone.py
==============================================================================
--- pypy/trunk/pypy/translator/c/test/test_standalone.py	(original)
+++ pypy/trunk/pypy/translator/c/test/test_standalone.py	Thu Jun  3 15:37:46 2010
@@ -210,6 +210,7 @@
         filename = str(udir.join('test_standalone_largefile'))
         r4800000000 = r_longlong(4800000000L)
         def entry_point(argv):
+            assert str(r4800000000 + len(argv)) == '4800000001'
             fd = os.open(filename, os.O_RDWR | os.O_CREAT, 0644)
             os.lseek(fd, r4800000000, 0)
             newpos = os.lseek(fd, 0, 1)



More information about the Pypy-commit mailing list