summaryrefslogtreecommitdiffstats
path: root/cds-regression-test/test/cli/cli-enrichment-test.sh
blob: a41a1ea4ba2bf7434592cb02ab4271bb9cac646c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
CBA_NAME="cli"
TEST_NAME="$CBA_NAME-enrichment"
TEST_NUMBER=$RANDOM
RESPONSE_HEADERS_FILE="$RESPONSES_DIRECTORY/$TEST_NAME-$TEST_NUMBER-response-headers"

. ./$TEST_DIRECTORY/utils.sh

echo "Compressing CBA: $CBA_NAME"
compress_cba_versioned $CBA_NAME

echo "Enriching CBA: $CBA_NAME"
enrich_cba $CBA_NAME $RESPONSE_HEADERS_FILE

echo 'Assert status 200'
assert_status_code 200 $RESPONSE_HEADERS_FILE