File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
iterating_api_endpoint/scripts Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- VERSION=$1
4-
53directory=" datasources/fixtures"
64extensions=(" csv" " ndjson" )
75
@@ -14,7 +12,7 @@ for extension in "${extensions[@]}"; do
1412 file_name=$( basename " $file_path " )
1513 file_name_without_extension=" ${file_name% .* } "
1614
17- command=" tb --semver $VERSION datasource append $file_name_without_extension datasources/fixtures/$file_name "
15+ command=" tb datasource append $file_name_without_extension datasources/fixtures/$file_name "
1816 echo $command
1917 $command
2018 done
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33export TB_VERSION_WARNING=0
4- export VERSION=$1
54
65run_test () {
76 t=$1
87 echo " ** Running $t **"
9- # Check if VERSION is provided
10- if [[ -n $VERSION ]]; then
11- echo " VERSION found: $VERSION "
12- sed -i " s/tb/tb --semver $VERSION /" $t
13- else
14- echo " VERSION not found"
15- fi
168 echo " ** $( cat $t ) "
179 if res=$( bash $t $2 | diff -B ${t} .result -) ; then
1810 echo ' OK' ;
You can’t perform that action at this time.
0 commit comments