Skip to content
Snippets Groups Projects
Commit cb1556dd authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Verify test failures

Former-commit-id: 5067732414960f65788d3726666ad5cf080ae5d4
parent de74feb4
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
set -e
set -x
cd $CICD_MODULE_WORK_DIR/peasoup_umbrella
source set_env_vars
# this test must fail
cd $PEASOUP_HOME/tests
make clean
# verify ls failure
./test_cmds.sh -l -c fail -a ls
if [ $? -eq 0 ]; then
exit 1
else
exit 0
fi
# verify grep failure
./test_cmds.sh -l -c fail -a grep
if [ $? -eq 0 ]; then
exit 1
else
exit 0
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment