Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
d147df41
Commit
d147df41
authored
13 years ago
by
Frédéric Delanoy
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cmd/tests: Add REM tests.
parent
f37ab586
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
programs/cmd/tests/test_builtins.cmd
+14
-0
14 additions, 0 deletions
programs/cmd/tests/test_builtins.cmd
programs/cmd/tests/test_builtins.cmd.exp
+11
-0
11 additions, 0 deletions
programs/cmd/tests/test_builtins.cmd.exp
with
25 additions
and
0 deletions
programs/cmd/tests/test_builtins.cmd
+
14
−
0
View file @
d147df41
...
...
@@ -52,6 +52,20 @@ echo @tab@word
echo @tab@word
echo@tab@@tab@word
echo ------------ Testing rem --------------
rem Hello
rem Hello
rem Hello || foo
rem echo lol
rem echo foo & echo bar
@echo on
rem Hello
rem Hello
rem Hello || foo
rem echo lol
rem echo foo & echo bar
@echo off
echo ------------ Testing redirection operators --------------
mkdir foobar & cd foobar
echo ...stdout redirection
...
...
This diff is collapsed.
Click to expand it.
programs/cmd/tests/test_builtins.cmd.exp
+
11
−
0
View file @
d147df41
...
...
@@ -95,6 +95,17 @@ word
@tab@word
@space@@tab@word
@tab@word
------------ Testing rem --------------
@pwd@>rem Hello@space@
@pwd@>rem Hello@space@
@pwd@>rem Hello || foo@space@
@pwd@>rem echo lol@space@
@pwd@>rem echo foo & echo bar@space@
------------ Testing redirection operators --------------
...stdout redirection
foo
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment