list-keyvals-test.sh 456 Bytes
Newer Older
1
2
3
4
5
6
7
8
#!/bin/bash -x

if [ -z $srcdir ]; then
    echo srcdir variable not set.
    exit 1
fi
source $srcdir/test/test-util.sh

9
10
find_db_name

11
12
# start a server with 2 second wait,
# 20s timeout, and my_test_db as database
13
test_start_server 2 20 $test_db_full 
14
15
16
17
18

sleep 1

#####################

19
run_to 20 test/sdskv-list-keyvals-test $svr_addr 1 $test_db_name 30
20
21
22
23
24
25
26
27
28
29
30
if [ $? -ne 0 ]; then
    wait
    exit 1
fi

wait

echo cleaning up $TMPBASE
rm -rf $TMPBASE

exit 0