test-execute: simplify checks if grep output is empty
grep already indicates if it matched anything by return value. Additional advantage is then that if the test fails, the unexpected matching lines are visible in the log output.
Loading
Please register or sign in to comment