Please note that the CVS and issue trackers have moved to GitHub. These Trac pages are no longer kept up-to-date.

root/seattle/branches/nacl_repy/seattlelib/tests/ut_lind_fs_statfs.py

Revision 5140, 241 bytes (checked in by justinc, 6 years ago)

removed circular imports and created a new Python testing mechanism called
lind_test_server. This removes the need for wrappers, etc.

Line 
1import lind_test_server
2
3from lind_fs_constants import *
4
5lind_test_server._blank_fs_init()
6
7# / should exist.
8statfsdict = lind_test_server.statfs_syscall('/')
9
10assert(statfsdict['f_type']==0xBEEFC0DE)
11assert(statfsdict['f_bsize']==4096)
12
Note: See TracBrowser for help on using the browser.