forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/tools/testing/selftests/efivarfs/efivarfs.sh
....@@ -87,6 +87,11 @@
8787 {
8888 local file=$efivarfs_mount/$FUNCNAME-$test_guid
8989 ./create-read $file
90
+ if [ $? -ne 0 ]; then
91
+ echo "create and read $file failed"
92
+ file_cleanup $file
93
+ exit 1
94
+ fi
9095 file_cleanup $file
9196 }
9297