Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Open Source Software
Zipr Toolchain
Commits
b3cec97a
Commit
b3cec97a
authored
13 years ago
by
an7s
Browse files
Options
Downloads
Patches
Plain Diff
testing manual test framework
parent
aac84d4b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitattributes
+1
-0
1 addition, 0 deletions
.gitattributes
examples/ls_manual_tests.sh
+63
-0
63 additions, 0 deletions
examples/ls_manual_tests.sh
with
64 additions
and
0 deletions
.gitattributes
+
1
−
0
View file @
b3cec97a
...
...
@@ -145,6 +145,7 @@ examples/Makefile -text
examples/dumbledore.c -text
examples/dumbledore_cmd.c -text
examples/integerbug.c -text
examples/ls_manual_tests.sh -text
examples/mul/generate_cprogs.sh -text
examples/mul/mul.ctmpl -text
examples/mul/mul.shtmpl -text
...
...
This diff is collapsed.
Click to expand it.
examples/ls_manual_tests.sh
0 → 100644
+
63
−
0
View file @
b3cec97a
#!/bin/sh
mkdir
tmp.
$$
cd
tmp.
$$
mkdir
subdir
echo
"hello"
>
subdir/hello
cp
/etc/passwd passwd
# test 1
ls
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar > o1"
--prog
foobar
--outfile
o1
# test 2
ls
-R
.
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar -R . > o1"
--prog
foobar
--outfile
o1
# test 3
ls
i1
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar i1 > o1"
--prog
foobar
--infile
i1
--outfile
o1
# test 4
ls
-aw
.
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar -aw . > o1"
--prog
foobar
--outfile
o1
# test 5
ls
-chBG
.
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar -chBG . > o1"
--prog
foobar
--outfile
o1
# test 6
ls
-s
.
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar -s . > o1"
--prog
foobar
--outfile
o1
# test 7
ls
-m
.
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar -m . > o1"
--prog
foobar
--outfile
o1
# test 8: invalid option
ls
-MX
.
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar -MX . > o1"
--prog
foobar
--outfile
o1
# test 9
ls
--help
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar --help > o1"
--prog
foobar
--outfile
o1
# test 10
ls
-Zlt
.
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar -Zlt . > o1"
--prog
foobar
--outfile
o1
# test 11
ls
-X
.
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar -X . > o1"
--prog
foobar
--outfile
o1
# test 12
ls
-x
.
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar -x . > o1"
--prog
foobar
--outfile
o1
# test 13
ls
-kif
.
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar -kif . > o1"
--prog
foobar
--outfile
o1
# test 14
ls
--ignore
=
hello
.
>
o1
$PEASOUP_HOME
/tools/manual_test_import.sh
--cmd
"./foobar --ignore=hello . > o1"
--prog
foobar
--outfile
o1
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