shithub: purgatorio

ref: 248c637d25154f762a7d675662c405a169594ca0
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;
}