[git commit master] add gethostid() testcase

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Feb 3 19:01:12 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=f588c2d4bb2d9cb5f2ae5f4f50a7eaf60f80aff6
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 test/inet/gethostid.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
 create mode 100644 test/inet/gethostid.c

diff --git a/test/inet/gethostid.c b/test/inet/gethostid.c
new file mode 100644
index 0000000..2951665
--- /dev/null
+++ b/test/inet/gethostid.c
@@ -0,0 +1,6 @@
+#include <unistd.h>
+#include <stdio.h>
+int main(void) {
+	printf("hostid=%d\n", gethostid());
+	return 0;
+}
-- 
1.6.3.3



More information about the uClibc-cvs mailing list