selftests: fix spelling mistaked "chaigned" -> "chained"
diff mbox series

Message ID 20200116092903.52690-1-colin.king@canonical.com
State Mainlined
Commit 7714d469dcba572bbfb9cc47217fed7e7ddeb051
Headers show
Series
  • selftests: fix spelling mistaked "chaigned" -> "chained"
Related show

Commit Message

Colin King Jan. 16, 2020, 9:29 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in a literal string, fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 tools/testing/selftests/openat2/resolve_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Aleksa Sarai Jan. 16, 2020, 3:09 p.m. UTC | #1
On 2020-01-16, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a spelling mistake in a literal string, fix it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Yup, sure.

Reviewed-by: Aleksa Sarai <cyphar@cyphar.com>

> ---
>  tools/testing/selftests/openat2/resolve_test.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/openat2/resolve_test.c b/tools/testing/selftests/openat2/resolve_test.c
> index 7a94b1da8e7b..bbafad440893 100644
> --- a/tools/testing/selftests/openat2/resolve_test.c
> +++ b/tools/testing/selftests/openat2/resolve_test.c
> @@ -230,7 +230,7 @@ void test_openat2_opath_tests(void)
>  		{ .name = "[in_root] garbage link to /root",
>  		  .path = "cheeky/garbageself",	.how.resolve = RESOLVE_IN_ROOT,
>  		  .out.path = "root",		.pass = true },
> -		{ .name = "[in_root] chainged garbage links to /root",
> +		{ .name = "[in_root] chained garbage links to /root",
>  		  .path = "abscheeky/garbageself", .how.resolve = RESOLVE_IN_ROOT,
>  		  .out.path = "root",		.pass = true },
>  		{ .name = "[in_root] relative path to 'root'",
> -- 
> 2.24.0
>

Patch
diff mbox series

diff --git a/tools/testing/selftests/openat2/resolve_test.c b/tools/testing/selftests/openat2/resolve_test.c
index 7a94b1da8e7b..bbafad440893 100644
--- a/tools/testing/selftests/openat2/resolve_test.c
+++ b/tools/testing/selftests/openat2/resolve_test.c
@@ -230,7 +230,7 @@  void test_openat2_opath_tests(void)
 		{ .name = "[in_root] garbage link to /root",
 		  .path = "cheeky/garbageself",	.how.resolve = RESOLVE_IN_ROOT,
 		  .out.path = "root",		.pass = true },
-		{ .name = "[in_root] chainged garbage links to /root",
+		{ .name = "[in_root] chained garbage links to /root",
 		  .path = "abscheeky/garbageself", .how.resolve = RESOLVE_IN_ROOT,
 		  .out.path = "root",		.pass = true },
 		{ .name = "[in_root] relative path to 'root'",