diff options
Diffstat (limited to 'tests')
12 files changed, 12 insertions, 0 deletions
diff --git a/tests/unittests/sysfs_mock/class/misc/ubi_ctrl/dev b/tests/unittests/sysfs_mock/class/misc/ubi_ctrl/dev new file mode 100644 index 0000000..b736a31 --- /dev/null +++ b/tests/unittests/sysfs_mock/class/misc/ubi_ctrl/dev @@ -0,0 +1 @@ +12:12 diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/dev b/tests/unittests/sysfs_mock/class/mtd/mtd0/dev new file mode 100644 index 0000000..05bd230 --- /dev/null +++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/dev @@ -0,0 +1 @@ +12:1 diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/erasesize b/tests/unittests/sysfs_mock/class/mtd/mtd0/erasesize new file mode 100644 index 0000000..8b5a50a --- /dev/null +++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/erasesize @@ -0,0 +1,2 @@ +128 + diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/flags b/tests/unittests/sysfs_mock/class/mtd/mtd0/flags new file mode 100644 index 0000000..27b7671 --- /dev/null +++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/flags @@ -0,0 +1 @@ +0x0000001 diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/name b/tests/unittests/sysfs_mock/class/mtd/mtd0/name new file mode 100644 index 0000000..0695219 --- /dev/null +++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/name @@ -0,0 +1 @@ +mtd0 diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/numeraseregions b/tests/unittests/sysfs_mock/class/mtd/mtd0/numeraseregions new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/numeraseregions @@ -0,0 +1 @@ +12 diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/oobsize b/tests/unittests/sysfs_mock/class/mtd/mtd0/oobsize new file mode 100644 index 0000000..a949a93 --- /dev/null +++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/oobsize @@ -0,0 +1 @@ +128 diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/size b/tests/unittests/sysfs_mock/class/mtd/mtd0/size new file mode 100644 index 0000000..27f897b --- /dev/null +++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/size @@ -0,0 +1 @@ +16777216 diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/subpagesize b/tests/unittests/sysfs_mock/class/mtd/mtd0/subpagesize new file mode 100644 index 0000000..900731f --- /dev/null +++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/subpagesize @@ -0,0 +1 @@ +64 diff --git a/tests/unittests/sysfs_mock/class/mtd/mtd0/writesize b/tests/unittests/sysfs_mock/class/mtd/mtd0/writesize new file mode 100644 index 0000000..a949a93 --- /dev/null +++ b/tests/unittests/sysfs_mock/class/mtd/mtd0/writesize @@ -0,0 +1 @@ +128 diff --git a/tests/unittests/sysfs_mock/class/ubi/ubi0 b/tests/unittests/sysfs_mock/class/ubi/ubi0 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/unittests/sysfs_mock/class/ubi/ubi0 diff --git a/tests/unittests/sysfs_mock/class/ubi/version b/tests/unittests/sysfs_mock/class/ubi/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/unittests/sysfs_mock/class/ubi/version @@ -0,0 +1 @@ +1 |