Jakub Wilk
e36145b4fa
Tests: Don't hardcode errno constants
...
The values of ENOENT and ESRCH are architecture-dependent, so don't
assume they're always 2 and 3.
2018-02-17 13:59:29 +01:00
Paul Beckingham
60220546c1
Tests: Removed taskd group features from test framework
2017-03-20 22:23:08 -04:00
Paul Beckingham
220aaf29f2
Test: Fixed bad typo in test framework
2016-11-06 01:12:56 -04:00
Renato Alves
ec9b8c5aa9
Tests: Force protocol to IPv4 on localhost
2015-05-03 15:52:12 +01:00
Renato Alves
fcfc95df86
Tests: Fix framework log collection error
2015-04-27 11:39:34 +01:00
Renato Alves
e60ea2e07a
Revert "Tests: Use IP address instead of hostname with taskd"
...
Going back to using "localhost". Using the IP address causes GNUTLS
handshake errors in GnuTLS <= 3.2.18
This reverts commit 233d97fbff
.
2015-04-26 18:13:20 +01:00
Renato Alves
233d97fbff
Tests: Use IP address instead of hostname with taskd
2015-04-26 00:24:59 +01:00
Renato Alves
a52bba46f1
Output taskd.log to stdout on taskd failures (not test errors)
2015-04-25 23:51:01 +01:00
Renato Alves
afec6d451f
Tests: Force stopping taskd on 5mins timeout
2015-04-06 13:46:08 +01:00
Renato Alves
09d86eb165
Tests: Better diagnostics on taskd start failure.
2015-04-06 13:08:17 +01:00
Renato Alves
526665d4ec
Tests: Configurable check for taskd readyness
...
* Also increase the frequency from 1/s to 2/s
2015-03-27 10:51:38 +00:00
Renato Alves
180c382de2
Tests - Finer control on which binaries to look for on PATH
...
* It is now possible to control whether taskw and/or taskd are looked up
on the PATH by setting TASK_USE_PATH/TASKD_USE_PATH to "1"
2015-03-03 01:46:53 +00:00
Renato Alves
d1698eab2d
Fix usage of taskd.trust=strict on the test suite
...
* This reverts commit 67cb30fdce
.
* Code also now tests if taskd is listening on IPv4 or IPv6 interfaces.
2015-01-20 11:56:53 +00:00
Renato Alves
d261a38d17
Unittest - Enhanced support for testing hooks (wip)
...
* It is now possible to test:
* Hook Input/Output on STDIN/STDOUT channels
* Exit code of hook script
* Execution count (how many times the hook was executed)
* Timestamp execution (when was the hook executed - milisec resolution)
2014-11-02 00:01:06 +00:00
Renato Alves
d9d3b47c31
Unittest - default to ../src/ as location for task/taskd binaries
2014-07-31 17:03:49 +01:00
Renato Alves
4a305d5e51
Unittest - Fix path to user tx.data
2014-07-19 02:55:49 +01:00
Renato Alves
974045da7a
Unittest - Helper code to easily parse tx.data
2014-07-19 02:28:52 +01:00
Renato Alves
02683aecd7
Unittest - Make is easier to reset env vars of task and taskd
2014-07-18 14:01:04 +01:00
Renato Alves
72e8a73ae0
Unittest - Add prefixes to task and taskd temporary folders
2014-07-18 13:20:06 +01:00
Renato Alves
45c73fc473
Unittest - Add code to check if taskd is available
2014-07-15 00:50:58 +01:00
Renato Alves
715a414abd
UnitTests
...
* Taskd and Taskw classes for testing are now available
* Testing of server and client can now be performed.
* The newer test wrappers will eventually replace the BaseTest class
2014-07-06 02:03:04 +01:00
Renato Alves
b60682a1e4
Make wait time configurable. Could be needed in slower machines.
2014-07-06 01:03:32 +01:00
Renato Alves
c1dbe4fc3c
Prevent reuse of Taskd after being destroyed
2014-07-06 01:03:32 +01:00
Renato Alves
08c11da702
Testing
...
Expose location of taskd.log and taskd.pid
2014-05-17 22:05:30 +01:00
Renato Alves
29d5de1154
Testing
...
Add a class to manage one or more taskd servers running on the same
machine.
2014-05-17 21:44:51 +01:00