Added two test scripts
[idzebra-moved-to-github.git] / test / zsh / test2.zsh
diff --git a/test/zsh/test2.zsh b/test/zsh/test2.zsh
new file mode 100644 (file)
index 0000000..54f8fb5
--- /dev/null
@@ -0,0 +1,8 @@
+quickstart
+init 
+create_database Default
+record_insert <xml><head>foo</head><body>bar</body></xml>
+search_pqf firstset @attr 1=/ nothere
+expect 0 hits
+search_pqf firstset @attr 1=/ foo
+expect 1 hits