xref: /OK3568_Linux_fs/buildroot/support/testing/tests/fs/test_yaffs2.py (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1import os
2
3import infra.basetest
4
5
6class TestYaffs2(infra.basetest.BRTest):
7    config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
8        infra.basetest.MINIMAL_CONFIG + \
9        """
10        BR2_TARGET_ROOTFS_YAFFS2=y
11        """
12
13    def test_run(self):
14        img = os.path.join(self.builddir, "images", "rootfs.yaffs2")
15        self.assertTrue(os.path.exists(img))
16