bash_test_tools
bash_test_tools copied to clipboard
error running demo script
The demo script test_find.sh generates an error on Cygwin (see below). strace is installed.
> ./test_find.sh
---------------------------------------------------------------------------------------------------
TEST FIND LOCAL DIRECTORY
Running: find ./
bash_test_tools: Zeile 595: _strace: No such file or directory
ExecTime: 0.071 seconds
Assert: process terminated normally OK
Assert: 'exit status' equal to 0 FAIL
Assert: 'stderror' is empty FAIL
Assert: 'stdoutput' contains 'some_file.txt' FAIL
Status - FAIL
====================================================================================================
Ran 1 tests - Failed 1
Looks like Cygwin's strace implementation does not take an argument with -e
-e, --events log all Windows DEBUG_EVENTS (toggle - default true)