casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
async-segfault_regression.py
Go to the documentation of this file.
00001 # test occurence of segfault in fits file handling when async==False
00002 os.system('rm -rf test.uvfits test-reimport.ms')
00003 os.system('rm -rf test.fits')
00004 exportuvfits(vis='test.ms', fitsfile='test.uvfits', async=False, datacolumn = 'data')
00005 exportfits(fitsimage='test.fits', imagename='test.clean.image', async=False)
00006 importuvfits(vis='test-reimport.ms', fitsfile='test.uvfits', async=False)
00007 print ''
00008 print 'Regression PASSED'
00009 print ''
00010