Skip to content

Commit

Permalink
test zc390 fix for dir name with period
Browse files Browse the repository at this point in the history
  • Loading branch information
jyganci authored and adelosa committed Nov 17, 2023
1 parent 31a5331 commit d7ca043
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions rt/bash/runcbldotdirtest
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

0 comments on commit d7ca043

Please sign in to comment.