Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359419
b: refs/heads/master
c: 033a1a7
h: refs/heads/master
i:
  359417: 0e3309f
  359415: d404105
v: v3
  • Loading branch information
Jeremy Kerr authored and Linus Torvalds committed Feb 28, 2013
1 parent 8241c47 commit a8bc80d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 455ce1c721b1787e6695c535528034e9e7271f37
refs/heads/master: 033a1a7fe7e27b9320496ca7da6905a5f654a768
13 changes: 13 additions & 0 deletions trunk/tools/testing/selftests/efivarfs/efivarfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,18 @@ test_create()
fi
}

test_create_empty()
{
local file=$efivarfs_mount/$FUNCNAME-$test_guid

: > $file

if [ ! -e $file ]; then
echo "$file can not be created without writing" >&2
exit 1
fi
}

test_delete()
{
local attrs='\x07\x00\x00\x00'
Expand Down Expand Up @@ -112,6 +124,7 @@ check_prereqs
rc=0

run_test test_create
run_test test_create_empty
run_test test_delete
run_test test_zero_size_delete
run_test test_open_unlink
Expand Down

0 comments on commit a8bc80d

Please sign in to comment.