tests: add syslog.test

* tests/syslog.c: New file.
* tests/syslog.test: New test.
* tests/.gitignore: Add syslog.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add syslog.test.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index a08025c..06b3854 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -169,6 +169,7 @@
 	stat64 \
 	statfs \
 	sysinfo \
+	syslog \
 	tee \
 	time \
 	timer_create \
@@ -330,6 +331,7 @@
 	statfs.test \
 	sun_path.test \
 	sysinfo.test \
+	syslog.test \
 	tee.test \
 	time.test \
 	timer_create.test \