shithub: purgatorio

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