shithub: gefs

Download patch

ref: ad7565d068c61864de6919a2e6d0da388c1ae8fb
parent: a35dbf7f6fb9a9ae24d1064d065a1d374d1bfc1b
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Mar 3 10:23:07 EST 2024

test/run.rc: bump disk size, save trace after a run

--- a/test/run.rc
+++ b/test/run.rc
@@ -83,6 +83,7 @@
 	test/6.freplay -l replay.log $dev
 	ge_start $dev
 	$*
+	echo save trace /tmp/trace >> /srv/gefs.test.cmd
 	ge_kill
 	$O.out -c -f $dev
 }}
@@ -132,7 +133,7 @@
 	}
 	if(! test -e $GOROOT_BOOTSTRAP){
 		echo extracting /tmp/$go.tbz ...
- 		bunzip2 -c /tmp/$go.tbz | tar x
+ 		bunzip2 -c /tmp/$go.tbz | tar x >[2]/dev/null
 	}
 	mkdir go
 	mkdir tmpw
@@ -171,9 +172,10 @@
 }
 
 if(! test -e $dev)
-	dd -if /dev/zero -of $dev -bs 1kk -count 1024
+	dd -if /dev/zero -of $dev -bs 1kk -count 2k 
 rm -f /srv/gefs.test /srv/gefs.test.cmd /srv/replay
 mk all
+@{cd test && mk all}
 
 dotest ge_replay frobsnap
 dotest ge_replay buildgefs_slowrep 50