File: run-test

package info (click to toggle)
tntdb 1.4-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,632 kB
  • sloc: cpp: 15,806; makefile: 261; ansic: 260; sql: 158; sh: 11
file content (18 lines) | stat: -rwxr-xr-x 368 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash


set -e
pkg=tnetdb
CUR_DIR=`pwd`
export LC_ALL=C.UTF-8

if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX) 
  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
fi

echo "Running test ..."
#echo -e "  Test 1" ./test-lib
echo "... at the moment this is just a superficial test (`pwd`)"
echo -e "  PASS"