diff options
author | axel <axel@liljencrantz.se> | 2005-09-20 23:31:55 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-09-20 23:31:55 +1000 |
commit | 7ddecde54372c25fcf526e2d24807c5dac9800aa (patch) | |
tree | 1bff6e0ccd096836adb74529d53a6debcf45375b /tests/test5.in | |
parent | 149594f974350bb364a76c73b91b1d5ffddaa1fa (diff) |
Add subdirectories
darcs-hash:20050920133155-ac50b-9a14c6c664dd03afbe8e15e7c7998fcfb5c3c750.gz
Diffstat (limited to 'tests/test5.in')
-rw-r--r-- | tests/test5.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/test5.in b/tests/test5.in new file mode 100644 index 00000000..a3e2256c --- /dev/null +++ b/tests/test5.in @@ -0,0 +1,25 @@ + +set smurf green + +switch $smurf; + case "*ee*" + echo Test 1 pass + case "*" + echo Test 1 fail +end; + +switch $smurf + case *ee* + echo Test 2 fail + case red green blue + echo Test 2 pass + case "*" + echo Test 2 fail +end + +switch $smurf + case cyan magenta yellow + echo Test 3 fail + case "?????" + echo Test 3 pass +end |