summaryrefslogtreecommitdiffstats
path: root/test/test.sh
blob: 769adf484135b841820ff53b01324b9ab22dae87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# Force locale to ensure we always get the same output
export LC_ALL=C

# common tests
echo "[APP test-common]"
LD_LIBRARY_PATH=$PWD ./latrace -qR ./test-common

# arguments tests
echo "[APP test-args]"
LD_LIBRARY_PATH=$PWD ./latrace -qR -a $PWD/test/lib-test-args.conf ./test-args

# script tests
echo "[SCRIPTS]"
. $PWD/test/script/test_tty_output.sh
test_tty_output