shithub: purgatorio

ref: 63392be12a1a657419af2d2966995428721f18f3
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;
}