tests: Add initial osmo_io tests

Change-Id: Ia67629e53f4d2e5784177250d58e268fdfcaa0c2
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6876df3..c6027a9 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -53,6 +53,7 @@
 		 v110/test_frame                                        \
 		 v110/test_ra1                                          \
 		 gsm44021/test_frame_csd                                \
+		 osmo_io/osmo_io_test					\
 		 $(NULL)
 
 if ENABLE_MSGFILE
@@ -367,6 +368,8 @@
 				$(top_builddir)/src/gsm/libosmogsm.la \
 				$(LDADD)
 
+osmo_io_osmo_io_test_SOURCES = osmo_io/osmo_io_test.c
+
 
 # The `:;' works around a Bash 3.2 bug when the output is not writeable.
 $(srcdir)/package.m4: $(top_srcdir)/configure.ac
@@ -469,6 +472,7 @@
 	     v110/test_frame.ok \
 	     v110/test_ra1.ok \
 	     gsm44021/test_frame_csd.ok \
+	     osmo_io/osmo_io_test.ok osmo_io/osmo_io_test.err \
 	     $(NULL)
 
 if ENABLE_LIBSCTP
@@ -678,6 +682,10 @@
 		>$(srcdir)/v110/test_ra1.ok
 	gsm44021/test_frame_csd \
 		>$(srcdir)/gsm44021/test_frame_csd.ok
+	osmo_io/osmo_io_test \
+		>$(srcdir)/osmo_io/osmo_io_test.ok \
+		2>$(srcdir)/osmo_io/osmo_io_test.err
+
 
 check-local: atconfig $(TESTSUITE)
 	[ -e /proc/cpuinfo ] && cat /proc/cpuinfo