Rainer Gerhards
8ea166d89d
testbench: fix some hardcoded names ( #2895 )
...
* testbench: fix some hardcoded names
This is prework to make parallel execution of tests possible.
2018-08-01 12:52:17 +02:00
Florian Riedl
61bec55a55
Test refactor part 4
2018-07-24 17:16:50 +02:00
Rainer Gerhards
2ba3c8ddde
testbench: modernize testbench plumbing
...
changes some of the test commands to use bash functions
includes some small bug fixes to tests where bugs were
previously not seen due to different plumbing.
2018-07-23 17:26:34 +02:00
f337b638e8
Merge branch 'issue_445_fix_syscall_caller_compilation' of https://github.com/karibou/rsyslog into karibou-issue_445_fix_syscall_caller_compilation
...
Conflicts:
tests/imuxsock_ccmiddle.sh
tests/imuxsock_ccmiddle_root.sh
tests/imuxsock_hostname.sh
tests/imuxsock_traillf.sh
tests/imuxsock_traillf_root.sh
2015-08-04 06:11:21 -07:00
df3d4a3922
test-suite: Added !#/bin/bash into all test scripts.
...
Most of the tests will not work in other default shells like
on Freebsd or Solaris. So we make /bin/bash default now.
2015-07-30 15:38:17 +00:00
Louis Bouchard
f21b3f96f7
Fix tests bashism so the tests do run when lib enabled
...
Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
2015-07-17 12:43:06 +02:00
Louis Bouchard
d5540ae094
Skip tests that require liblogging-stdlog
...
Those tests were enhanced with the addition of liblogging-stdlog
features. When compiled without it, most of the test will fail.
Skip those.
Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
2015-07-16 17:30:57 +02:00
be940cf970
testbench: made work on FreeBSD
...
bash "source" extension is not supported in FreeBSD default shell"
2015-07-15 09:33:31 +00:00
Rainer Gerhards
fa4094137d
cleanup: remove no longer needed testbench tool
2014-12-04 12:47:33 +01:00
Miloslav Trmač
00ce927aa9
Skip tests that require root if euid != 0
...
This will mark them as SKIPPED instead of FAILED, making it at least
in theory possible to get 0 FAILED tests even when running as an
unprivileged user.
2012-05-31 18:39:59 +02:00
Rainer Gerhards
ee065f1cb5
fixed testsuite problems during make distcheck
2011-02-23 09:01:57 +01:00
Rainer Gerhards
87bffff894
added one more test for imuxsock to autmatted test suite
...
control character escaping is now also being tested
2011-02-22 16:10:21 +01:00
Rainer Gerhards
36c1649fc1
improved testbench, added tests for imuxsock
2011-02-21 14:08:37 +01:00