summaryrefslogtreecommitdiff
path: root/test/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-14 18:10:38 -0700
committerAnatolij Gustschin <agust@denx.de>2016-01-30 10:55:02 +0100
commit5508f10ac9c5cb49f41284b383ba18637f5c7f77 (patch)
tree1a833fc3b4fd508356c1d7ea04760e414571ed59 /test/dm
parentf266178698307608ee23741e69b9626196e66481 (diff)
downloadu-boot-imx-5508f10ac9c5cb49f41284b383ba18637f5c7f77.zip
u-boot-imx-5508f10ac9c5cb49f41284b383ba18637f5c7f77.tar.gz
u-boot-imx-5508f10ac9c5cb49f41284b383ba18637f5c7f77.tar.bz2
video: Handle the 'bell' character
This can be sent when to many characters are entered. Make sure it is ignored and does not cause a character to be displayed. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm')
-rw-r--r--test/dm/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/video.c b/test/dm/video.c
index be94633..4e3f9d5 100644
--- a/test/dm/video.c
+++ b/test/dm/video.c
@@ -124,7 +124,7 @@ DM_TEST(dm_test_video_text, DM_TESTF_SCAN_PDATA | DM_TESTF_SCAN_FDT);
static int dm_test_video_chars(struct unit_test_state *uts)
{
struct udevice *dev, *con;
- const char *test_string = "Well\b\b\b\bxhe is\r \n\ta very modest \bman\n\t\tand Has much to\b\bto be modest about.";
+ const char *test_string = "Well\b\b\b\bxhe is\r \n\ta very \amodest \bman\n\t\tand Has much to\b\bto be modest about.";
const char *s;
ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev));