OSSP CVS Repository

ossp - Check-in [2964]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2964
Date: 2002-Dec-16 15:46:52 (local)
2002-Dec-16 14:46:52 (UTC)
User:mlelstv
Branch:
Comment: fix cut&paste error for WITH_EX case
Tickets:
Inspections:
Files:
ossp-pkg/al/al_test.c      1.4 -> 1.5     2 inserted, 2 deleted

ossp-pkg/al/al_test.c 1.4 -> 1.5

--- al_test.c    2002/12/16 14:02:45     1.4
+++ al_test.c    2002/12/16 14:46:52     1.5
@@ -368,7 +368,7 @@
 /* test: exception handling */
 #ifdef WITH_EX
 #include "ex.h"
-TS_TEST(test_sa_ex)
+TS_TEST(test_al_ex)
 {
     volatile al_t *al;
     ex_t ex;
@@ -386,7 +386,7 @@
         if (al != NULL) al_destroy(&al);
     }
     ex_catch (ex) {
-        if ((sa_rc_t)ex.ex_value != AL_ERR_EOF)
+        if ((al_rc_t)ex.ex_value != AL_ERR_EOF)
             ts_test_fail(TS_CTX, "unexpected exception: %d\n", (al_rc_t)ex.ex_value);
         caught = 1;
     }

CVSTrac 2.0.1