diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2023-08-10 14:14:55 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2023-08-11 11:59:15 +0200 |
commit | 7e9dd614c58b6a4b00e3326c57ec75f0da68ec13 (patch) | |
tree | d9a8609a05f026b6ae16a4ed969252cc06669dca /tests | |
parent | 0369230fbc74afbc8d289377567ecf9858b1d822 (diff) | |
download | pinentry-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.bats | 1 |
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")" |