testsuites/fstests: Add JFFS2 NAND support tests

This adds a second set of JFFS2 tests running on top of a simulated NAND
backend to ensure that interactions with delayed writes operate as
expected.
This commit is contained in:
Kinsey Moore
2023-12-15 12:44:50 -06:00
committed by Joel Sherrill
parent efc36cb467
commit 981d24e22a
12 changed files with 502 additions and 0 deletions

View File

@@ -21,6 +21,8 @@ links:
uid: libimfs
- role: build-dependency
uid: libjffs2
- role: build-dependency
uid: libjffs2nand
- role: build-dependency
uid: libmimfs
- role: build-dependency
@@ -89,6 +91,22 @@ links:
uid: jffs2fssymlink
- role: build-dependency
uid: jffs2fstime
- role: build-dependency
uid: jffs2nandfserror
- role: build-dependency
uid: jffs2nandfslink
- role: build-dependency
uid: jffs2nandfspatheval
- role: build-dependency
uid: jffs2nandfspermission
- role: build-dependency
uid: jffs2nandfsrdwr
- role: build-dependency
uid: jffs2nandfsscandir01
- role: build-dependency
uid: jffs2nandfssymlink
- role: build-dependency
uid: jffs2nandfstime
- role: build-dependency
uid: mdosfsfserror
- role: build-dependency

View File

@@ -0,0 +1,22 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: test-program
cflags: []
copyrights:
- Copyright (C) 2023 On-Line Applications Research (OAR)
cppflags: []
cxxflags: []
enabled-by: true
features: c cprogram
includes:
- testsuites/fstests/jffs2_nand_support
ldflags: []
links: []
source:
- testsuites/fstests/fserror/test.c
stlib: []
target: testsuites/fstests/jffs2nand_fserror.exe
type: build
use-after: []
use-before:
- testjffs2nand
- jffs2

View File

@@ -0,0 +1,22 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: test-program
cflags: []
copyrights:
- Copyright (C) 2023 On-Line Applications Research (OAR)
cppflags: []
cxxflags: []
enabled-by: true
features: c cprogram
includes:
- testsuites/fstests/jffs2_nand_support
ldflags: []
links: []
source:
- testsuites/fstests/fslink/test.c
stlib: []
target: testsuites/fstests/jffs2nand_fslink.exe
type: build
use-after: []
use-before:
- testjffs2nand
- jffs2

View File

@@ -0,0 +1,22 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: test-program
cflags: []
copyrights:
- Copyright (C) 2023 On-Line Applications Research (OAR)
cppflags: []
cxxflags: []
enabled-by: true
features: c cprogram
includes:
- testsuites/fstests/jffs2_nand_support
ldflags: []
links: []
source:
- testsuites/fstests/fspatheval/test.c
stlib: []
target: testsuites/fstests/jffs2nand_fspatheval.exe
type: build
use-after: []
use-before:
- testjffs2nand
- jffs2

View File

@@ -0,0 +1,22 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: test-program
cflags: []
copyrights:
- Copyright (C) 2023 On-Line Applications Research (OAR)
cppflags: []
cxxflags: []
enabled-by: true
features: c cprogram
includes:
- testsuites/fstests/jffs2_nand_support
ldflags: []
links: []
source:
- testsuites/fstests/fspermission/test.c
stlib: []
target: testsuites/fstests/jffs2nand_fspermission.exe
type: build
use-after: []
use-before:
- testjffs2nand
- jffs2

View File

@@ -0,0 +1,22 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: test-program
cflags: []
copyrights:
- Copyright (C) 2023 On-Line Applications Research (OAR)
cppflags: []
cxxflags: []
enabled-by: true
features: c cprogram
includes:
- testsuites/fstests/jffs2_nand_support
ldflags: []
links: []
source:
- testsuites/fstests/fsrdwr/init.c
stlib: []
target: testsuites/fstests/jffs2nand_fsrdwr.exe
type: build
use-after: []
use-before:
- testjffs2nand
- jffs2

View File

@@ -0,0 +1,22 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: test-program
cflags: []
copyrights:
- Copyright (C) 2023 On-Line Applications Research (OAR)
cppflags: []
cxxflags: []
enabled-by: true
features: c cprogram
includes:
- testsuites/fstests/jffs2_nand_support
ldflags: []
links: []
source:
- testsuites/fstests/fsscandir01/init.c
stlib: []
target: testsuites/fstests/jffs2nand_fsscandir01.exe
type: build
use-after: []
use-before:
- testjffs2nand
- jffs2

View File

@@ -0,0 +1,22 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: test-program
cflags: []
copyrights:
- Copyright (C) 2023 On-Line Applications Research (OAR)
cppflags: []
cxxflags: []
enabled-by: true
features: c cprogram
includes:
- testsuites/fstests/jffs2_nand_support
ldflags: []
links: []
source:
- testsuites/fstests/fssymlink/test.c
stlib: []
target: testsuites/fstests/jffs2nand_fssymlink.exe
type: build
use-after: []
use-before:
- testjffs2nand
- jffs2

View File

@@ -0,0 +1,22 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: test-program
cflags: []
copyrights:
- Copyright (C) 2023 On-Line Applications Research (OAR)
cppflags: []
cxxflags: []
enabled-by: true
features: c cprogram
includes:
- testsuites/fstests/jffs2_nand_support
ldflags: []
links: []
source:
- testsuites/fstests/fstime/test.c
stlib: []
target: testsuites/fstests/jffs2nand_fstime.exe
type: build
use-after: []
use-before:
- testjffs2nand
- jffs2

View File

@@ -0,0 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: library
cflags: []
copyrights:
- Copyright (C) 2023 On-Line Applications Research (OAR)
cppflags: []
cxxflags: []
enabled-by: true
includes:
- testsuites/fstests/jffs2_nand_support
install: []
install-path: null
links: []
source:
- testsuites/fstests/jffs2_nand_support/fs_support.c
- testsuites/fstests/support/fstest_support.c
target: testjffs2nand
type: build