MOS Source Code
Loading...
Searching...
No Matches
test_vfs.c File Reference
+ Include dependency graph for test_vfs.c:

Go to the source code of this file.

Functions

static void stat_receiver (int depth, const dentry_t *dentry, bool mountroot, void *data)
 
 MOS_TEST_DECL_PTEST (vfs_mount_test, "Mount %s in %s, with rootfs: %d", const char *fs, const char *mountpoint, bool rootfs)
 
 MOS_TEST_PTEST_INSTANCE (vfs_mount_test, "tmpfs", "/tmp", false)
 
 MOS_TEST_PTEST_INSTANCE (vfs_mount_test, "tmpfs", "/tmp", true)
 

Function Documentation

◆ stat_receiver()

static void stat_receiver ( int depth,
const dentry_t * dentry,
bool mountroot,
void * data )
static

Definition at line 7 of file test_vfs.c.

Referenced by MOS_TEST_DECL_PTEST().

◆ MOS_TEST_DECL_PTEST()

MOS_TEST_DECL_PTEST ( vfs_mount_test ,
"Mount %s in % s,
with rootfs:%d" ,
const char * fs,
const char * mountpoint,
bool rootfs )

Definition at line 13 of file test_vfs.c.

+ Here is the call graph for this function:

◆ MOS_TEST_PTEST_INSTANCE() [1/2]

MOS_TEST_PTEST_INSTANCE ( vfs_mount_test ,
"tmpfs" ,
"/tmp" ,
false  )

◆ MOS_TEST_PTEST_INSTANCE() [2/2]

MOS_TEST_PTEST_INSTANCE ( vfs_mount_test ,
"tmpfs" ,
"/tmp" ,
true  )