summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2009-06-17 16:40:49 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2009-06-17 16:40:49 -0400
commit5245e4a23bb8fbd03d7f4c7fda9142accce244ca (patch)
tree7c6e4eb81b99fde3adab5b0957190a7baa194b6b /tests
parent85279ca2a378d6484ab83ad1ac3bc87a0cac8409 (diff)
- move some documentation files around
Diffstat (limited to 'tests')
-rw-r--r--tests/clients/Makefile.am1
-rwxr-xr-xtests/clients/ypmaplist.py7
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/clients/Makefile.am b/tests/clients/Makefile.am
index df0f0b9..923f4dd 100644
--- a/tests/clients/Makefile.am
+++ b/tests/clients/Makefile.am
@@ -1,3 +1,4 @@
+EXTRA_DIST = ypmaplist.py
AM_CFLAGS = @TIRPC_CFLAGS@ @RPC_CFLAGS@
RPCGEN=@RPCGEN@
if CAN_TEST
diff --git a/tests/clients/ypmaplist.py b/tests/clients/ypmaplist.py
new file mode 100755
index 0000000..fb7b805
--- /dev/null
+++ b/tests/clients/ypmaplist.py
@@ -0,0 +1,7 @@
+#!/usr/bin/python
+#
+# There's no command-line client in yp-tools, but python provides a function.
+#
+import nis
+for map in nis.maps():
+ print map