getf SCI/util/testexamples.sci reinit_for_test() %U=mopen('SCI/tests/automatic_tests/isdef_data.ref','rb'); A = 1; %ans = isdef('A'); if load_ref('%ans') then bugmes();quit;end, %ans = clear('A'); if load_ref('%ans') then bugmes();quit;end, %ans = isdef('A'); if load_ref('%ans') then bugmes();quit;end, xdel_run(winsid()); mclose(%U);