Skip to content

Commit

Permalink
[#59] Fix simpleapi/fatalerror2 subtest failure due to .csh script no…
Browse files Browse the repository at this point in the history
…t in sync with updated .txt file
  • Loading branch information
nars1 committed Mar 27, 2018
1 parent 94fc3e3 commit 5979ab9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions simpleapi/u_inref/fatalerror2.csh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ echo "# Test of FATALERROR2 error"
echo "Copy all C programs that need to be tested"
cp $gtm_tst/$tst/inref/fatalerror.c .

echo "# Set vmemoryuse limit to 200Mb; Eventually triggers GTM-F-MEMORY (and in turn FATALERROR2 error in syslog)"
limit vmemoryuse 200000
echo "# unsetenv gtmdbglvl (needed for FATALERROR2)"
unsetenv gtmdbglvl

echo "# Create database for TP transaction"
$gtm_tst/com/dbcreate.csh mumps 1

Expand All @@ -36,6 +31,12 @@ foreach file (fatalerror.c)
echo "FATALERROR2-E-LINKFAIL : Linking $exefile failed. See $exefile.map for details"
continue
endif

echo "# Set vmemoryuse limit to 200Mb; Eventually triggers GTM-F-MEMORY (and in turn FATALERROR2 error in syslog)"
limit vmemoryuse 200000
echo "# unsetenv gtmdbglvl (needed for FATALERROR2)"
unsetenv gtmdbglvl

`pwd`/$exefile
echo ""
end
Expand Down

0 comments on commit 5979ab9

Please sign in to comment.