code: purgatorio

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