From 4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 27 Mar 2012 11:51:08 +0200 Subject: reorganize file structure to match the upstream requirements --- tests/filesys/create.inc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/filesys/create.inc (limited to 'tests/filesys/create.inc') diff --git a/tests/filesys/create.inc b/tests/filesys/create.inc new file mode 100644 index 0000000..4baf771 --- /dev/null +++ b/tests/filesys/create.inc @@ -0,0 +1,15 @@ +/* -*- c -*- */ + +#include +#include "tests/lib.h" +#include "tests/main.h" + +static char buf[TEST_SIZE]; + +void +test_main (void) +{ + const char *file_name = "blargle"; + CHECK (create (file_name, TEST_SIZE), "create \"%s\"", file_name); + check_file (file_name, buf, TEST_SIZE); +} -- cgit v1.2.3