tests: add sysinfo.test

* tests/sysinfo.c: New file.
* tests/sysinfo.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add sysinfo.
(TESTS): Add sysinfo.test.
* tests/.gitignore: Add sysinfo.
diff --git a/tests/.gitignore b/tests/.gitignore
index 819b0a9..8500ca7 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -45,6 +45,7 @@
 stat
 stat32
 statfs
+sysinfo
 time
 uid
 uid16