Skip to content

Commit

Permalink
add debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
Piccirello authored and nmanoogian committed Feb 13, 2024
1 parent f49dec2 commit 2988555
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/e2e/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ beforeEach() {
header
rm -rf $TEST_CONFIG_DIR
rm -f doppler.yaml
rm -f setup-test.exp
cat << EOF > doppler.yaml
setup:
- project: cli
Expand Down Expand Up @@ -88,6 +89,10 @@ actual="$("$DOPPLER_BINARY" configure get config --plain --config-dir=$TEST_CONF
expected=""
[[ "$actual" == "$expected" ]] || error "ERROR: unexpected config at scope. expected '$expected', actual '$actual'"

echo "printing debug info"
$DOPPLER_BINARY setup --config-dir=$TEST_CONFIG_DIR 2>/dev/null
echo "completed debug info"

cat << EOF > setup-test.exp
#!/usr/bin/env expect --
Expand Down

0 comments on commit 2988555

Please sign in to comment.