Verified Commit defa37da authored by Alexander Wellbrock's avatar Alexander Wellbrock
Browse files

CI: invert test statement

parent 0b6d8546
Pipeline #6767 passed with stages
in 24 minutes and 57 seconds
......@@ -42,7 +42,7 @@ ostree-test:
- for i in `seq 0 7`; do mknod /dev/loop$i b 7 $i || :; done
script:
# Test if ref is set correctly
- if [[ "$OSTREE_REF" =~ "OSTreeBeard/" ]] && [[ "$OSTREE_REF" =~ "/x86_64" ]]; then exit 1; fi
- if [[ ! "$OSTREE_REF" =~ "OSTreeBeard/" ]] || [[ ! "$OSTREE_REF" =~ "/x86_64" ]]; then exit 1; fi
# Prepare test repo (shipped with container)
- mkdir -p ./test-repo
- cp -rv /resources/test/test-repo/* ./test-repo
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment