From 405b86068e6a3d39970b9129ceec0a9108464b28 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sun, 22 Jun 2008 16:14:11 +0200 Subject: Initial import --- tests/tposix.nim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 tests/tposix.nim (limited to 'tests/tposix.nim') diff --git a/tests/tposix.nim b/tests/tposix.nim new file mode 100755 index 000000000..87ea3acaf --- /dev/null +++ b/tests/tposix.nim @@ -0,0 +1,13 @@ +# Test Posix interface + +import posix + +var + u: Tutsname + +discard uname(u) + +writeln(stdout, u.sysname) +writeln(stdout, u.nodename) +writeln(stdout, u.release) +writeln(stdout, u.machine) -- cgit 1.4.1-2-gfad0