selftests/efivarfs: add create-read test
authorJeremy Kerr <jk@ozlabs.org>
Thu, 28 Feb 2013 01:05:55 +0000 (17:05 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Feb 2013 03:10:24 +0000 (19:10 -0800)
commitd974f67a528fa7ef5547318ea09bf581c8c1d3d9
tree62cb02b15d8e6da078e3ce20e3cadea2edc8a1e7
parent033a1a7fe7e27b9320496ca7da6905a5f654a768
selftests/efivarfs: add create-read test

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>
tools/testing/selftests/efivarfs/Makefile
tools/testing/selftests/efivarfs/create-read.c [new file with mode: 0644]
tools/testing/selftests/efivarfs/efivarfs.sh