libx52/tests/test_led_d_red.sh

13 lines
236 B
Bash

#!/bin/bash
# Test setting the D button to red
source $(dirname $0)/common_infra.sh
expect_pattern $X52_LED_COMMAND_INDEX $X52_LED_D_RED_ON
expect_pattern $X52_LED_COMMAND_INDEX $X52_LED_D_GREEN_OFF
$X52CLI led D red
verify_output