changes for new test1

This commit is contained in:
mes5k 2004-10-22 00:38:42 +00:00
parent 46d749cfcc
commit 74353f79f4
7 changed files with 9 additions and 9 deletions

View File

@ -1 +1 @@
My name is MIKE
My name (spelled backwards) is: ekim

View File

@ -1,7 +1,7 @@
#!/bin/sh
# success
../examples/test1 -u -n mike > tmp.out 2>&1
../examples/test1 -r -n mike > tmp.out 2>&1
if cmp -s tmp.out test1.out; then
exit 0

View File

@ -1 +1 @@
My name is mike
My name is: mike

View File

@ -1 +1 @@
My name is MIKE
My name (spelled backwards) is: ekim

View File

@ -1,7 +1,7 @@
#!/bin/sh
# success
../examples/test1 -n mike -u > tmp.out 2>&1
../examples/test1 -n mike -r > tmp.out 2>&1
if cmp -s tmp.out test3.out; then
exit 0

View File

@ -2,7 +2,7 @@ PARSE ERROR:
One or more required arguments missing!
Brief USAGE:
../examples/test1 [-u] -n <string> [--] [-v] [-h]
../examples/test1 [-r] -n <string> [--] [-v] [-h]
For complete USAGE and HELP type:
../examples/test1 --help

View File

@ -1,13 +1,13 @@
USAGE:
../examples/test1 [-u] -n <string> [--] [-v] [-h]
../examples/test1 [-r] -n <string> [--] [-v] [-h]
Where:
-u, --upperCase
Print in upper case
-r, --reverse
Print name backwards
-n <string>, --name <string>
(required) (value required) Name to print