summaryrefslogtreecommitdiffstats
path: root/test/test.sh
diff options
context:
space:
mode:
authorJiri Olsa <Jiri Olsa jolsa@redhat.com>2011-05-05 08:54:40 +0200
committerJiri Olsa <Jiri Olsa jolsa@redhat.com>2011-05-05 08:54:40 +0200
commit29420f774dc55c794cebefe24aadc90280601b79 (patch)
treeb2f371bebd836a564de30c5fbec7a659c90515ad /test/test.sh
parentc9d0018b9e527168292f8d40273a9e97223c0bc8 (diff)
downloadlatrace-29420f774dc55c794cebefe24aadc90280601b79.tar.gz
latrace-29420f774dc55c794cebefe24aadc90280601b79.tar.xz
latrace-29420f774dc55c794cebefe24aadc90280601b79.zip
adding OUTPUT_TTY config file option
- added OUTPUT_TTY config file option it is possible to catch traced program tty output and storing it to the configured file (0/1/2 descriptors are monitored) - added automated test for the option - refactoring process method a bit - disabling connection between -R and -q options
Diffstat (limited to 'test/test.sh')
-rwxr-xr-xtest/test.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh
index 055a449..efcd545 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -1,7 +1,14 @@
#!/bin/sh
# common tests
-LD_LIBRARY_PATH=$PWD ./latrace -q ./test-common
+echo "[APP test-common]"
+LD_LIBRARY_PATH=$PWD ./latrace -qR ./test-common
# arguments tests
-LD_LIBRARY_PATH=$PWD ./latrace -q -a $PWD/test/lib-test-args.conf ./test-args
+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