update README to reflect current status
[pdns-pipe-nmc.git] / test.hs
diff --git a/test.hs b/test.hs
index eb3bfb9c4b8208efa7fe3205d0772fa3aef02ea8..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 <- mergeImport queryOp (emptyNmcDom {domImport = Just "d/root"})
-        putStrLn $ show d
+        descendNmcDom queryOp []               (seedNmcDom "root") >>= print
+        descendNmcDom queryOp ["_tcp","_smtp"] (seedNmcDom "root") >>= print