diff --git a/.cockpit-ci/run b/.cockpit-ci/run index ecf84289..d6032cf1 100755 --- a/.cockpit-ci/run +++ b/.cockpit-ci/run @@ -4,5 +4,7 @@ set -eux if [ -n "$TEST_ATTACHMENTS" ]; then echo "heisenberg compensator at 99.8% efficiency" > "$TEST_ATTACHMENTS"/bogus.log + mkdir -p $TEST_ATTACHMENTS/data + echo "subdir-file" > $TEST_ATTACHMENTS/data/subdir-file.txt fi make check diff --git a/tasks/run-local.sh b/tasks/run-local.sh index 26a4c04a..23afb594 100755 --- a/tasks/run-local.sh +++ b/tasks/run-local.sh @@ -392,6 +392,8 @@ test_pr() { if [ "${PR_REPO%/cockpituous}" != "$PR_REPO" ]; then BOGUS_LOG=$($CURL ${LOG_URL%/log}/bogus.log) assert_in 'heisenberg compensator' "$BOGUS_LOG" + BOGUS_SUBDIR_LOG=$($CURL ${LOG_URL%/log}/data/subdir-file.txt) + assert_in 'subdir-file' "$BOGUS_LOG" fi }