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>
13 lines
203 B
Makefile
13 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)
|