aboutsummaryrefslogtreecommitdiffstats
path: root/tests/describe.bats
diff options
context:
space:
mode:
authorMoritz Meißelbach <arbelzapf@gmail.com>2019-12-03 20:24:20 +0100
committerMoritz Meißelbach <arbelzapf@gmail.com>2019-12-03 20:24:20 +0100
commit96a1109a71aed08352c4bdf6162acc91948106e1 (patch)
tree81d399e818643c9be5260470c55469348405bc4c /tests/describe.bats
parentc0d0b778d1d20739faf4d4657c8cf949245db3fc (diff)
parentbb222ad4b33c97cf43bb5f7c76b57426074834fa (diff)
downloadsway-launcher-desktop-96a1109a71aed08352c4bdf6162acc91948106e1.tar.gz
sway-launcher-desktop-96a1109a71aed08352c4bdf6162acc91948106e1.zip
Merge branch 'master' into github_actions
Diffstat (limited to 'tests/describe.bats')
-rw-r--r--tests/describe.bats6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/describe.bats b/tests/describe.bats
index d02ee96..1541974 100644
--- a/tests/describe.bats
+++ b/tests/describe.bats
@@ -1,13 +1,13 @@
@test "Name and description of firefox desktop file are properly extracted" {
- run ../sway-launcher-desktop.sh describe data/desktop-files/0/applications/firefox.desktop desktop
+ run env XDG_CONFIG_HOME=./data/config ../sway-launcher-desktop.sh describe desktop ./data/desktop-files/0/applications/firefox.desktop
[ "$status" -eq 0 ]
[[ ${lines[0]} =~ "Firefox" ]]
[[ ${lines[1]} =~ "Browse the World Wide Web" ]]
}
@test "Name and description of ls command should be given" {
- run ../sway-launcher-desktop.sh describe ls command
+ run env XDG_CONFIG_HOME=./data/config ../sway-launcher-desktop.sh describe command ls
[ "$status" -eq 0 ]
[[ ${lines[0]} =~ "ls" ]]
[[ ${lines[1]} =~ "list directory contents" ]]
-} \ No newline at end of file
+}