Skip to content

Commit 65c3907

Browse files
committed
test
1 parent e80ff2a commit 65c3907

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.ci/test-sound.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ source "${SCRIPT_DIR}/common.sh"
99

1010
SAMPLE_SOUND="/usr/share/sounds/alsa/Front_Center.wav"
1111

12+
FOO=" exec aplay -C -d 3 --fatal-errors -f S16_LE > /dev/null"
13+
1214
TEST_SOUND() {
1315
ASSERT expect <<DONE
1416
set timeout ${TIMEOUT}
1517
spawn make check
1618
expect "buildroot login:" { send "root\\n" } timeout { exit 1 }
1719
expect "# " { send "uname -a\\n" } timeout { exit 2 }
1820
19-
exec aplay ${SAMPLE_SOUND} --fatal-errors > /dev/null
20-
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 }
2122
DONE
2223
}
2324

0 commit comments

Comments
 (0)