summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-06 22:44:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-06 22:44:27 +0000
commit98c875a15b49a05149fd60a4057bba129deb3261 (patch)
tree85b18209a8789f6ac7dd797174879adf063d4dab /testsuites
parentCorrected spacing. (diff)
downloadrtems-98c875a15b49a05149fd60a4057bba129deb3261.tar.bz2
Initialize the attributes structure. Random data was causing the test
to fail sporadically.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/itrontests/itronmbf01/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/itrontests/itronmbf01/init.c b/testsuites/itrontests/itronmbf01/init.c
index dc1edc09d3..3c2714a35f 100644
--- a/testsuites/itrontests/itronmbf01/init.c
+++ b/testsuites/itrontests/itronmbf01/init.c
@@ -81,6 +81,8 @@ void TestCre()
puts( "Init - cre_mbf - negative values for bufsz returns E_PAR" );
pk_cmbf.bufsz = -1;
pk_cmbf.maxmsz = 100;
+ pk_cmbf.mbfatr = 0;
+ pk_cmbf.exinf = NULL;
status = cre_mbf( 1, &pk_cmbf );
assert( status == E_PAR );