1
0
Fork 0
alistair23-linux/tools/testing/selftests/firmware
Luis R. Rodriguez 880444e214 selftests: firmware: send expected errors to /dev/null
Error that we expect should not be spilled to stdout.

Without this we get:

./fw_filesystem.sh: line 58: printf: write error: Invalid argument
./fw_filesystem.sh: line 63: printf: write error: No such device
./fw_filesystem.sh: line 69: echo: write error: No such file or directory
./fw_filesystem.sh: filesystem loading works
./fw_filesystem.sh: async filesystem loading works

With it:

./fw_filesystem.sh: filesystem loading works
./fw_filesystem.sh: async filesystem loading works

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-11 09:42:59 +01:00
..
Makefile selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
config selftests: create test-specific kconfig fragments 2016-02-25 09:47:52 -07:00
fw_filesystem.sh selftests: firmware: send expected errors to /dev/null 2017-01-11 09:42:59 +01:00
fw_userhelper.sh selftests: firmware: skip timeout checks for kernels without user mode helper 2015-08-05 17:07:19 -07:00