Add a simple test for Fflush() functionality in python
- Prior to previous patch this segfaulted and tracebacked...
This commit is contained in:
parent
501c6c4b20
commit
d230d86168
|
@ -43,6 +43,7 @@ for iot in [ 'fpio', 'fdio', 'ufdio', 'gzdio' ]:
|
|||
myprint('%s write fail' % iot)
|
||||
if fn != fd.name:
|
||||
myprint('bad file name %s' % fd.name)
|
||||
fd.flush()
|
||||
fd = rpm.fd(fn, 'r', iot)
|
||||
rdata = fd.read()
|
||||
if rdata != data:
|
||||
|
|
Loading…
Reference in New Issue