kernel/tools/testing/selftests/efivarfs/efivarfs.sh
.. .. @@ -87,6 +87,11 @@ 87 87 { 88 88 local file=$efivarfs_mount/$FUNCNAME-$test_guid 89 89 ./create-read $file 90 + if [ $? -ne 0 ]; then91 + echo "create and read $file failed"92 + file_cleanup $file93 + exit 194 + fi90 95 file_cleanup $file 91 96 } 92 97