tests: add ftruncate.test and truncate.test
* tests/ftruncate.c: New file.
* tests/truncate.c: Likewise.
* tests/ftruncate.test: New test.
* tests/truncate.test: Likewise.
* tests/Makefile.am (check_PROGRAMS): Add ftruncate and truncate.
(TESTS): Add ftruncate.test and truncate.test.
* tests/.gitignore: Add ftruncate and truncate.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 70c1fc2..3e962c8 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -24,6 +24,7 @@
fanotify_mark \
file_handle \
filter-unavailable \
+ ftruncate \
getdents \
getdents64 \
getrandom \
@@ -79,6 +80,7 @@
timerfd_xettime \
times \
times-fail \
+ truncate \
uid \
uid16 \
uid32 \
@@ -126,6 +128,7 @@
fanotify_mark.test \
file_handle.test \
filter-unavailable.test \
+ ftruncate.test \
getdents.test \
getdents64.test \
getrandom.test \
@@ -179,6 +182,7 @@
timerfd_xettime.test \
times.test \
times-fail.test \
+ truncate.test \
umovestr.test \
umovestr2.test \
unix-yy.test \