We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e80ff2a commit 65c3907Copy full SHA for 65c3907
.ci/test-sound.sh
@@ -9,15 +9,16 @@ source "${SCRIPT_DIR}/common.sh"
9
10
SAMPLE_SOUND="/usr/share/sounds/alsa/Front_Center.wav"
11
12
+FOO=" exec aplay -C -d 3 --fatal-errors -f S16_LE > /dev/null"
13
+
14
TEST_SOUND() {
15
ASSERT expect <<DONE
16
set timeout ${TIMEOUT}
17
spawn make check
18
expect "buildroot login:" { send "root\\n" } timeout { exit 1 }
19
expect "# " { send "uname -a\\n" } timeout { exit 2 }
20
- exec aplay ${SAMPLE_SOUND} --fatal-errors > /dev/null
- exec aplay -C -d 3 --fatal-errors -f S16_LE > /dev/null
21
+ expect "riscv32 GNU/Linux" { send "aplay ${SAMPLE_SOUND} --fatal-errors > /dev/null\\n"} timeout { exit 3 }
22
DONE
23
}
24
0 commit comments