LIB "tst.lib"; tst_init(); LIB "general.lib"; option(noredefine); proc vcheckdump(link l, string vn) { if (typeof(`vn`) != "proc" && typeof(`vn`) != "link") { write(l, `vn`); read(l); if (typeof(`vn`) == "ring") { setring `vn`; rcheckdump(l, names(`vn`)); } } } proc rcheckdump(link l, list nameslist) { int i; for (i=1; i/dev/null 2>&1")) { if (system("sh","remsh `hostname` -n test -x "+sing+" 1>/dev/null 2>&1")) { if (system("sh","ssh `hostname` -f test -x "+sing+" 1>/dev/null 2>&1")) { sing = ""; } } } if (size(sing)) { link ll = "MPtcp:launch"; open(ll); if (status(ll, "openwrite", "yes")) { kill sing; write(ll, quote(getdump(mp_ll))); dump(ll); read(ll); killall("not", "link"); write(ll, quote(dump(mp_ll))); getdump(ll); read(ll); checkdump(ll); } close(ll); } } if (defined(sing)) { kill sing; } tst_ignore(system("sh", "rm -rf _dump.*")); killall("proc"); dump(""); LIB "tst.lib"; tst_status(1);$