aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-08-10 14:14:55 +0200
committerMatěj Cepl <mcepl@cepl.eu>2023-08-11 11:59:15 +0200
commit7e9dd614c58b6a4b00e3326c57ec75f0da68ec13 (patch)
treed9a8609a05f026b6ae16a4ed969252cc06669dca /tests
parent0369230fbc74afbc8d289377567ecf9858b1d822 (diff)
downloadpinentry-rofi-7e9dd614c58b6a4b00e3326c57ec75f0da68ec13.tar.gz
test: remove $INSIDE_BATS home-made protection and use the proper way.
If in the end of the script differentiates between the script being sourced and run.
Diffstat (limited to 'tests')
-rw-r--r--tests/foundational.bats1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/foundational.bats b/tests/foundational.bats
index 458b43f..7c69969 100644
--- a/tests/foundational.bats
+++ b/tests/foundational.bats
@@ -1,7 +1,6 @@
#!/usr/bin/env bats
setup() {
- export INSIDE_BATS=1
DIR="$( cd "$(dirname "$BATS_TEST_FILENAME" )" >/dev/null 2>&1 && pwd )"
# shellcheck source=pinentry-rofi.sh
source "$(readlink -f "${DIR}/../pinentry-rofi.sh")"