Index: ossp-pkg/al/al_test.c RCS File: /v/ossp/cvs/ossp-pkg/al/al_test.c,v rcsdiff -q -kk '-r1.2' '-r1.3' -u '/v/ossp/cvs/ossp-pkg/al/al_test.c,v' 2>/dev/null --- al_test.c 2002/12/16 13:33:23 1.2 +++ al_test.c 2002/12/16 13:35:58 1.3 @@ -120,6 +120,7 @@ EVAL0("al_create", { rc = al_create(&al); }); + if (rc != AL_OK) return; EVAL1("al_append_bytes", al, { rc = al_append_bytes(al, S("Hello world\n"), NULL); @@ -140,12 +141,15 @@ EVAL0("al_create(&src)", { rc = al_create(&src); }); + if (rc != AL_OK) return; EVAL0("al_create(&ins)", { rc = al_create(&ins); }); + if (rc != AL_OK) return; EVAL0("al_create(&dst)", { rc = al_create(&dst); }); + if (rc != AL_OK) return; for (i=0; i<500; ++i) { EVAL1("al_append_bytes(&src)", src, { @@ -218,6 +222,8 @@ EVAL0("al_create", { rc = al_create(&al); }); + if (rc != AL_OK) return; + EVAL0("al_append_bytes", { rc = al_append_bytes(al, S("Hello world. Goodbye world.\n"), LABEL); }); @@ -338,6 +344,8 @@ EVAL0("al_create", { rc = al_create(&al); }); + if (rc != AL_OK) return; + EVAL1("al_append_bytes", al, { rc = al_append_bytes(al, S("Hello world\n"), NULL); });