[Libsysio-commit] strided-io: libsysio/tests test_all.pl
Brought to you by:
lward
|
From: Sonja T. <so...@us...> - 2004-01-30 19:59:59
|
Update of /cvsroot/libsysio/libsysio/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23002/tests Modified Files: Tag: strided-io test_all.pl Log Message: Oops. Forgot to add the test_all.pl changes which add the rw test to the test suite. Index: test_all.pl =================================================================== RCS file: /cvsroot/libsysio/libsysio/tests/test_all.pl,v retrieving revision 1.6.6.1 retrieving revision 1.6.6.2 diff -u -w -b -B -p -r1.6.6.1 -r1.6.6.2 --- test_all.pl 26 Jan 2004 16:27:48 -0000 1.6.6.1 +++ test_all.pl 30 Jan 2004 19:58:24 -0000 1.6.6.2 @@ -161,6 +161,17 @@ if ($res ne "Symlink test successful") { print "test_symlink finished successfully\n"; } +# Test r/w calls +$res = `perl $testdir/test_rw.pl $alpha_arg $cwd/tmp_dir/tmp.foo`; +chop($res); +if ($res ne "rw test successful") { + print "rw test failed with message: $res\n"; + $failures++; +} else { + $success++; + print "rw test finished successfully\n"; +} + print "$failures tests failed and $success tests succeeded\n"; # cleanup |