Mario Limonciello
d6a455e856
trivial: try harder to make sure mtdram is set up
...
the autopkgtest environment in Ubuntu seems to not be preparing the mtdram
device properly. Sometimes the udev node "exists" but the /dev/mtd0 does not
exist.
Look for this explicitly and skip the test if it happens.
2022-09-07 08:24:10 -05:00
Mario Limonciello
9289e7d817
trivial: set firwmare attributes class directory for all tests
...
We don't want the system's firmware attributes class directory to
conflict.
2022-07-28 17:30:57 -05:00
Richard Hughes
4b1313b406
Split out the GByte helpers to a new source file
2022-06-14 14:36:52 -05:00
Mario Limonciello
48544bd2ac
trivial: skip mtd tests if not working off mtdram test device
...
(LP: #1973598 )
2022-05-16 11:22:30 -05:00
Richard Hughes
0b7af7d54b
trivial: Ignore the return value of setenv() in most cases
...
This makes Coverity happy.
2022-04-13 15:08:12 +01:00
Richard Hughes
2bee2164af
trivial: Fix the mtd test when the prefix is read only
2022-03-22 14:36:48 +00:00
Richard Hughes
8ef261af32
mtd: Add some self tests using mtdram
2022-03-18 12:55:44 +00:00