Skip to content

Commit

Permalink
wip: debug tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Piccirello authored and nmanoogian committed Feb 14, 2024
1 parent d1e32b3 commit e748f4b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/e2e/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -euo pipefail

TEST_NAME="setup file"
TEST_CONFIG_DIR="./temp-config-dir"
export DOPPLER_PROJECT=""
export DOPPLER_CONFIG=""

cleanup() {
exit_code=$?
Expand Down Expand Up @@ -86,6 +88,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 "Debug start"
$DOPPLER_BINARY setup --config-dir=$TEST_CONFIG_DIR
echo "Debug start"

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

0 comments on commit e748f4b

Please sign in to comment.