shithub: riscv

ref: dde3628d54073e0569bf565e6ec861e42cfa35f6
dir: /sys/src/cmd/git/test/util.rc/

View raw version
fn q {
	{$* > /tmp/out.$pid && rm /tmp/out.$pid} || cat /tmp/out.$pid
}
fn qq {
	$* >/dev/null >[2]/dev/null
}

fn die {
	st=$status
	if(! ~ $st ''){
		*=($* : $st)
		echo $"*
		exit $"*
	}
}

G=`{cleanname `{pwd}^/..}