view tests/0003/run-test.sh @ 43:cadab98092a2

Test single-vector insertion and point query.
author mas01cr
date Mon, 17 Sep 2007 14:26:15 +0000
parents
children 09275a49cb51
line wrap: on
line source
#! /bin/sh

if [ -f testdb ]; then rm -f testdb; fi

${AUDIODB} -d testdb -N

# FIXME: endianness!
printf "\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x3f" > testfeature

${AUDIODB} -d testdb -I -f testfeature

${AUDIODB} -d testdb -Q point -f /tmp/foo > query-output

echo testfeature 1 0 0 > test-query-output

cmp query-output test-query-output

exit 104