master.c

ldmud-3.3.719/test/t-041124/master.c · 432 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

/* Testscenario 041124
 *
 * Test lookup issues with inherited function closures.
 */

#include "/inc/base.inc"
#include "/inc/gc.inc"

void run_test()
{
    msg("\nRunning test for t-041124:\n"
          "--------------------------\n");

    object a=load_object("a");
    object c=load_object("c");
    if(c->run_test())
	shutdown(1);
    else
	start_gc(#'shutdown);
}

string *epilog(int eflag)
{
    run_test();
    return 0;
}

Site Stats

Snippets: 1791
Codebases: 571