shithub: purgatorio

ref: d4f4b292ca9c8665ef938036340ff32bf5128755
dir: /liblogfs/test.c/

View raw version
#include "logfsos.h"
#include "logfs.h"
#include "local.h"

char *
logfsservertestcmd(LogfsServer *s, int argc, char **argv)
{
	if(argc == 1 && strcmp(argv[0], "dontfettledatablock") == 0)
		s->testflags |= LogfsTestDontFettleDataBlock;
	else
		return Ebadarg;
	return nil;
}