Skip to content

Commit

Permalink
Merge branch 'gnucobol-3.x' into gcos4gnucobol-3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
lefessan committed Feb 2, 2023
2 parents 7fd5d49 + ab8b81e commit d4f364e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
16 changes: 8 additions & 8 deletions tests/testsuite.src/configuration.at
Original file line number Diff line number Diff line change
Expand Up @@ -647,11 +647,11 @@ AT_SETUP([runtime configuration: entries])
AT_KEYWORDS([configuration misc])

AT_CHECK([echo "$PATHSEP"], [0], [;
], [],
], [], [

# Previous test "failed" --> PATHSEP isn't ;

AT_DATA([defunc.cfg], [
AT_DATA([defunc.cfg], [
novar
physical_cancel notwithme
load_case insensitive
Expand All @@ -664,7 +664,7 @@ trace_file /tmp:/temp
])

# conf entries must be clean
AT_CHECK([$COBCRUN -c defunc.cfg --runtime-conf], [1], [],
AT_CHECK([$COBCRUN -c defunc.cfg --runtime-conf], [1], [],
[configuration error:
defunc.cfg:2: unknown configuration tag 'novar'
defunc.cfg:3: invalid value 'notwithme' for configuration tag 'physical_cancel';
Expand All @@ -682,12 +682,12 @@ defunc.cfg:9: WARNING - 'sort_chunk' without a value - ignored!
defunc.cfg:10: invalid value '/tmp:/temp' for configuration tag 'trace_file';
should not contain ':'
])

]
,

[
# Previous test "passed" --> PATHSEP is ;

AT_DATA([defunc.cfg], [
AT_DATA([defunc.cfg], [
novar
physical_cancel notwithme
load_case insensitive
Expand All @@ -700,7 +700,7 @@ trace_file C:\tmp;C:\temp
])

# conf entries must be clean
AT_CHECK([$COBCRUN -c defunc.cfg --runtime-conf], [1], [],
AT_CHECK([$COBCRUN -c defunc.cfg --runtime-conf], [1], [],
[configuration error:
defunc.cfg:2: unknown configuration tag 'novar'
defunc.cfg:3: invalid value 'notwithme' for configuration tag 'physical_cancel';
Expand All @@ -718,7 +718,7 @@ defunc.cfg:9: WARNING - 'sort_chunk' without a value - ignored!
defunc.cfg:10: invalid value 'C:\tmp;C:\temp' for configuration tag 'trace_file';
should not contain ';'
])

]
)

AT_CLEANUP
Expand Down
6 changes: 4 additions & 2 deletions tests/testsuite.src/run_file.at
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ AT_DATA([prog.cob], [

AT_CHECK([$COMPILE prog.cob], [0], [], [])
AT_CHECK([$COBCRUN_DIRECT ./prog], [0], [], [])
[echo "Test" > ./nosubhere]
AT_DATA([nosubhere], [Test
])
AT_CHECK([$COBCRUN_DIRECT ./prog], [0], [], [])

AT_CLEANUP
Expand Down Expand Up @@ -435,7 +436,8 @@ AT_DATA([prog.cob], [

AT_CHECK([$COMPILE prog.cob], [0], [], [])
AT_CHECK([$COBCRUN_DIRECT ./prog], [0], [], [])
[echo "Test" > ./nosubhere]
AT_DATA([nosubhere], [Test
])
AT_CHECK([$COBCRUN_DIRECT ./prog], [0], [], [])

AT_CLEANUP
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite.src/syn_misc.at
Original file line number Diff line number Diff line change
Expand Up @@ -9605,7 +9605,7 @@ AT_DATA([fixed2.cob], [
])

# Generate source files with DOM
AT_CHECK([printf '\xEF\xBB\xBF' > header.dom])
AT_CHECK([printf '\357\273\277' > header.dom])
AT_CHECK([cat header.dom free.cob >> domfree.cob])
AT_CHECK([cat header.dom fixed1.cob >> domfixed.cob])

Expand Down

0 comments on commit d4f364e

Please sign in to comment.