aboutsummaryrefslogtreecommitdiffstats
path: root/tests/generate-command.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/generate-command.bats
parent9859390621dbddcdd6447df55e17a8a0f6e5d5c5 (diff)
downloadsway-launcher-desktop-a933010810b91b8cdefcd264fe4a23ffb9689069.tar.gz
sway-launcher-desktop-a933010810b91b8cdefcd264fe4a23ffb9689069.zip
make tests individually executable
Diffstat (limited to 'tests/generate-command.bats')
-rwxr-xr-x[-rw-r--r--]tests/generate-command.bats4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/generate-command.bats b/tests/generate-command.bats
index 1dccc13..2a30cd0 100644..100755
--- a/tests/generate-command.bats
+++ b/tests/generate-command.bats
@@ -1,3 +1,5 @@
+#!/usr/bin/env bats
+
setup() {
export TERMINAL_COMMAND='urxvt -e'
}
@@ -21,4 +23,4 @@ setup() {
run ../sway-launcher-desktop.sh generate-command data/desktop-files/0/applications/minecraft-launcher.desktop
[ "$status" -eq 0 ]
[[ "$output" == 'cd /opt/minecraft-launcher/ && env GDK_BACKEND=x11 /opt/minecraft-launcher/minecraft-launcher' ]]
-} \ No newline at end of file
+}