tests: add alarm.test

* tests/alarm.c: New file.
* tests/alarm.test: New test.
* tests/.gitignore: Add alarm.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(TESTS): Add alarm.test.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 9855c0a..81974e3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -58,6 +58,7 @@
 	_newselect \
 	adjtimex \
 	aio \
+	alarm \
 	attach-f-p \
 	attach-p-cmd-cmd \
 	attach-p-cmd-p \
@@ -210,6 +211,7 @@
 	_newselect.test \
 	adjtimex.test \
 	aio.test \
+	alarm.test \
 	bexecve.test \
 	bpf.test \
 	caps.test \