Ver Fonte

add test script to sanity check pljava-jsword is working

Pi há 1 ano atrás
pai
commit
34e1e703bf
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      test-pljava-jsword.sh

+ 6 - 0
test-pljava-jsword.sh

@@ -0,0 +1,6 @@
+#!/bin/bash
+output=$(psql -d pgdb -1 -t -A <<EOF
+SELECT * FROM getText('KJV', 'Gen 1:1');
+EOF
+)
+[ "${output}" == "In the beginning God created the heaven and the earth." ]