mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
* Fixed rot13 test suite to work before the package is installed.
Closes: #48559 git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5106 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
@@ -31,17 +31,17 @@ set -e
|
||||
|
||||
. tests/common
|
||||
|
||||
testexec rot13 caesar/rot13
|
||||
testexec rot13 caesar/caesar 13
|
||||
|
||||
testno 1
|
||||
caesar/rot13 >test.out 2>&1 <<EOF || failtest
|
||||
caesar/caesar 13 >test.out 2>&1 <<EOF || failtest
|
||||
foo
|
||||
EOF
|
||||
compare test.out tests/rot13.foo
|
||||
rm -f test.out
|
||||
|
||||
testno 2
|
||||
caesar/rot13 >test.out 2>&1 <<EOF || failtest
|
||||
caesar/caesar 13 >test.out 2>&1 <<EOF || failtest
|
||||
Foo
|
||||
Bar
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user