Skip to content

Commit 085bbf8

Browse files
committed
temporarily disable one of the unittests
1 parent 99ec584 commit 085bbf8

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

code/tests/runAllTests.sh

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fi
1818

1919
cd $curdir
2020

21-
# Show more output from running the tests, including which tests have been run and
21+
# Show more output from running the tests, including which tests have been run and
2222
# which were skipped. [Disable for now.]
2323
# reportFlags="-rA"
2424

@@ -35,7 +35,22 @@ then
3535
pip install tox
3636
fi
3737

38+
# Cleanup any FDCs that might be in either the standard directory or under $HOME
39+
# if you're using the Redist client.
40+
rm -f /var/mqm/errors/*FDC ~/IBM/MQ/data/errors/*FDC
41+
3842
# And now run them
3943
# Tests are run in the alphabetic order of test*.py
4044
tox -e container $defargs $* 2>&1
45+
rc=$?
46+
47+
# Check for FDCs.
48+
fdcCnt=`ls /var/mqm/errors/*FDC ~/IBM/MQ/data/errors/*FDC 2>/dev/null | wc -w`
49+
if [ $fdcCnt -ne 0 ]
50+
then
51+
echo "FDCs found. Need to investigate"
52+
exit 1
53+
fi
54+
55+
exit $rc
4156

tools/check

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,9 @@ then
257257
echo " ERROR: CheckCA failed"
258258
exit 1
259259
else
260-
echo " OK : Found $line"
260+
echo " OK "
261261
fi
262262

263-
exit 0
264263
# Try building against an old level of MQ and against the base level of Python
265264
if [ -x $curdir/checkBaseLevel.sh ]
266265
then

0 commit comments

Comments
 (0)