summary refs log tree commit diff
path: root/posix/wordexp-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/wordexp-test.c')
-rw-r--r--posix/wordexp-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/wordexp-test.c b/posix/wordexp-test.c
index d9ecadcaa4..9ee1ab79c9 100644
--- a/posix/wordexp-test.c
+++ b/posix/wordexp-test.c
@@ -138,6 +138,7 @@ struct test_case_struct
     { WRDE_BADCHAR, NULL, "close-brace}", 0, 0, { NULL, } },
     { WRDE_CMDSUB, NULL, "$(ls)", WRDE_NOCMD, 0, { NULL, } },
     { WRDE_BADVAL, NULL, "$var", WRDE_UNDEF, 0, { NULL, } },
+    { WRDE_BADVAL, NULL, "$9", WRDE_UNDEF, 0, { NULL, } },
     { WRDE_SYNTAX, NULL, "$[50+20))", 0, 0, { NULL, } },
     { WRDE_SYNTAX, NULL, "${%%noparam}", 0, 0, { NULL, } },
     { WRDE_SYNTAX, NULL, "${missing-brace", 0, 0, { NULL, } },