50 lines
1.6 KiB
Diff
50 lines
1.6 KiB
Diff
|
|
From deb4c3c20a63d0b61ba291a8edb237c2d065a04e Mon Sep 17 00:00:00 2001
|
||
|
|
From: liujing <liujing_yewu@cmss.chinamobile.com>
|
||
|
|
Date: Wed, 18 Sep 2024 19:24:00 +0800
|
||
|
|
Subject: [PATCH] tests: Fix error strings
|
||
|
|
MIME-Version: 1.0
|
||
|
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
Content-Transfer-Encoding: 8bit
|
||
|
|
|
||
|
|
They were copy-pasted from e1000e and never changed.
|
||
|
|
|
||
|
|
Signed-off-by: Juan Quintela <quintela@redhat.com>
|
||
|
|
Message-Id: <20220902165126.1482-7-quintela@redhat.com>
|
||
|
|
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
|
||
|
|
Signed-off-by: Thomas Huth <thuth@redhat.com>
|
||
|
|
Signed-off-by: Liu Jing <liujing_yewu@cmss.chinamobile.com>
|
||
|
|
---
|
||
|
|
tests/qtest/e1000-test.c | 2 +-
|
||
|
|
tests/qtest/es1370-test.c | 2 +-
|
||
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/tests/qtest/e1000-test.c b/tests/qtest/e1000-test.c
|
||
|
|
index ea286d1793..1bd25d584b 100644
|
||
|
|
--- a/tests/qtest/e1000-test.c
|
||
|
|
+++ b/tests/qtest/e1000-test.c
|
||
|
|
@@ -35,7 +35,7 @@ static void *e1000_get_driver(void *obj, const char *interface)
|
||
|
|
return &e1000->dev;
|
||
|
|
}
|
||
|
|
|
||
|
|
- fprintf(stderr, "%s not present in e1000e\n", interface);
|
||
|
|
+ fprintf(stderr, "%s not present in e1000\n", interface);
|
||
|
|
g_assert_not_reached();
|
||
|
|
}
|
||
|
|
|
||
|
|
diff --git a/tests/qtest/es1370-test.c b/tests/qtest/es1370-test.c
|
||
|
|
index 2fd7fd2d3d..861656d572 100644
|
||
|
|
--- a/tests/qtest/es1370-test.c
|
||
|
|
+++ b/tests/qtest/es1370-test.c
|
||
|
|
@@ -28,7 +28,7 @@ static void *es1370_get_driver(void *obj, const char *interface)
|
||
|
|
return &es1370->dev;
|
||
|
|
}
|
||
|
|
|
||
|
|
- fprintf(stderr, "%s not present in e1000e\n", interface);
|
||
|
|
+ fprintf(stderr, "%s not present in es1370\n", interface);
|
||
|
|
g_assert_not_reached();
|
||
|
|
}
|
||
|
|
|
||
|
|
--
|
||
|
|
2.41.0.windows.1
|
||
|
|
|