forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
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