mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
d974f67a52
Test that reads from a newly-created efivarfs file (with no data written) will return EOF. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Cc: Matt Fleming <matt.fleming@intel.com> Cc: Lingzhu Xiang <lxiang@redhat.com> Cc: Dave Young <dyoung@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 lines
203 B
Makefile
12 lines
203 B
Makefile
CC = $(CROSS_COMPILE)gcc
|
|
CFLAGS = -Wall
|
|
|
|
test_objs = open-unlink create-read
|
|
|
|
all: $(test_objs)
|
|
|
|
run_tests: all
|
|
@/bin/bash ./efivarfs.sh || echo "efivarfs selftests: [FAIL]"
|
|
|
|
clean:
|
|
rm -f $(test_objs)
|