aboutsummaryrefslogtreecommitdiffstats
path: root/tests/autostart.bats
diff options
context:
space:
mode:
authoritspngu <34752364+itspngu@users.noreply.github.com>2020-12-21 19:31:41 +0100
committeritspngu <34752364+itspngu@users.noreply.github.com>2020-12-21 19:31:41 +0100
commita933010810b91b8cdefcd264fe4a23ffb9689069 (patch)
tree8622e4e150b37b874f1f6bc8cf59df2ed9991b22 /tests/autostart.bats
parent9859390621dbddcdd6447df55e17a8a0f6e5d5c5 (diff)
downloadsway-launcher-desktop-a933010810b91b8cdefcd264fe4a23ffb9689069.tar.gz
sway-launcher-desktop-a933010810b91b8cdefcd264fe4a23ffb9689069.zip
make tests individually executable
Diffstat (limited to 'tests/autostart.bats')
-rwxr-xr-x[-rw-r--r--]tests/autostart.bats4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/autostart.bats b/tests/autostart.bats
index 0197a30..f2019f3 100644..100755
--- a/tests/autostart.bats
+++ b/tests/autostart.bats
@@ -1,3 +1,5 @@
+#!/usr/bin/env bats
+
setup() {
export TERMINAL_COMMAND='urxvt -e'
export XDG_CONFIG_HOME=./data/autostart-folders/0
@@ -11,4 +13,4 @@ setup() {
[[ ${#lines[@]} == 2 ]]
[[ ${lines[0]} =~ data/autostart-folders/0/autostart/firefox.desktop ]]
[[ ${lines[1]} =~ data/autostart-folders/1/autostart/htop.desktop ]]
-} \ No newline at end of file
+}