Skip to content

Commit a52da27

Browse files
committed
Make say configurable to be able to use "espeak -v de".
1 parent 097ad73 commit a52da27

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/acceptance/semiautomation/helper.fish

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ function waitForKubectl
4242
end
4343

4444
function output
45-
if which say > /dev/null
46-
say $argv[1] > /dev/null ^ /dev/null
45+
if test -n "$SAY"
46+
eval $SAY $argv[1] > /dev/null ^ /dev/null
4747
end
4848
echo
4949
for l in $argv[2..-1] ; echo $l ; end
@@ -117,5 +117,11 @@ end
117117

118118
if test -z "$TIMEOUT"
119119
set -xg TIMEOUT 60
120-
echo Base timeout set to 60 seconds, adjust TIMEOUT to change.
121120
end
121+
122+
if test -z "$SAY"
123+
if which say > /dev/null
124+
set -xg SAY say
125+
end
126+
end
127+

0 commit comments

Comments
 (0)