bash_test_tools icon indicating copy to clipboard operation
bash_test_tools copied to clipboard

error running demo script

Open thorstenkampe opened this issue 9 years ago • 1 comments

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

thorstenkampe avatar Nov 24 '16 07:11 thorstenkampe

Looks like Cygwin's strace implementation does not take an argument with -e

 -e, --events                 log all Windows DEBUG_EVENTS (toggle - default true)

thorstenkampe avatar Nov 24 '16 07:11 thorstenkampe