mirror of
https://github.com/Savapitech/42sh.git
synced 2026-01-18 16:57:28 +01:00
Add globbing test
This commit is contained in:
@@ -252,4 +252,20 @@ TESTS = [
|
||||
],
|
||||
depends_on=("ARGS",)
|
||||
),
|
||||
|
||||
Test(
|
||||
key="GLOB",
|
||||
name="globbing",
|
||||
cmds=[
|
||||
"ls *\n",
|
||||
"echo *.nix\n",
|
||||
"echo *file*\n",
|
||||
"echo fixtures/*.sh\n",
|
||||
"echo doesnotexist*\n",
|
||||
"ls *.c *.h\n",
|
||||
"echo *.txt > out.txt\n",
|
||||
"cat < out.txt\n",
|
||||
],
|
||||
depends_on=("REDIR",)
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user