forked from z390development/z390
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test zc390 fix for dir name with period
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
# runcbldotdirtest: run z390 zcobol sample regression test | ||
# when directory with '.' in file path | ||
|
||
set -e # exit on all errors | ||
cd $(dirname $0) # set to directory of script - rt/bash | ||
cd .. # up to rt | ||
cd .. # up to z390 | ||
|
||
rm -rf zcobol/test/cobol.dir | ||
mkdir -p zcobol/test/cobol.dir | ||
cp zcobol/demo/HELLO.CBL zcobol/test/cobol.dir | ||
bash/cblclg zcobol/test/cobol.dir/HELLO $1 $2 $3 $4 $5 $6 $7 $8 $9 | ||
rm -rf zcobol/test/cobol.dir | ||
# if we get here, there were no errors | ||
|
||
echo "Verify ZCOBOL dotdir regression test ran without errors" | ||
exit 0 |