test for SRV
[pdns-pipe-nmc.git] / test.hs
diff --git a/test.hs b/test.hs
index 1f19426c139401552e0b9f066df0f9c1382376dd..3bcd4bc12187fffcbe08faff6f915540d50ebb46 100644 (file)
--- a/test.hs
+++ b/test.hs
@@ -15,6 +15,6 @@ queryOp key = catch (readFile key >>= return . Right)
                     (\e -> return (Left (show (e :: IOException))))
 
 main = do
-        d <- descendNmcDom queryOp [] $ seedNmcDom "root"
-        putStrLn $ show d
+        descendNmcDom queryOp []               (seedNmcDom "root") >>= print
+        descendNmcDom queryOp ["_tcp","_smtp"] (seedNmcDom "root") >>= print