Added two test scripts
[idzebra-moved-to-github.git] / test / zsh / test1.zsh
diff --git a/test/zsh/test1.zsh b/test/zsh/test1.zsh
new file mode 100644 (file)
index 0000000..66d68fa
--- /dev/null
@@ -0,0 +1,10 @@
+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
+search_pqf firstset @attr 1=/ nothere
+expect 0 hits