osstest: reduce FreeBSD install timeouts
PATCH 1/1 osstest: reduce FreeBSD install timeouts
Only the first block is expected to take longer (because it decompresses the image and writes it to a LVM volume), the remaining commands should execute much faster, so reduce the timeout.
---
I've checked this with the output of OSSTest, and those blocks execute immediately, OSSTest doesn't even report execution times on them:
--- ts-freebsd-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
ts-freebsd-install +2 -2
@@ -67,7 +67,7 @@ sub prep () { mount -t ufs -o ufstype=ufs2,rw $rootpartition_dev $mnt END - target_cmd_root($ho, <<END, 900); + target_cmd_root($ho, <<END, 15); mkdir -p $mnt/root/.ssh cat <<'ENDKEYS' >$mnt/root/.ssh/authorized_keys $authkeys
@@ -75,7 +75,7 @@ ENDKEYS END - target_cmd_root($ho, <<END, 900); + target_cmd_root($ho, <<END, 30); echo 'sshd_enable="YES"' >> $mnt/etc/rc.conf echo 'ifconfig_xn0="DHCP"' >> $mnt/etc/rc.conf echo 'PermitRootLogin yes' >> $mnt/etc/ssh/sshd_config
Signature · 7 lines
1.9.5 (Apple Git-50.3) _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Quoted 7 lines · Roger Pau Monne
Only the first block is expected to take longer (because it decompresses the image and writes it to a LVM volume), the remaining commands should execute much faster, so reduce the timeout.
Signed-off-by Roger Pau Monné <[email protected]>Cc Ian Jackson <[email protected]>Cc Ian Campbell <[email protected]>
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Roger Pau Monne writes ("[PATCH] osstest: reduce FreeBSD install timeouts"):
Quoted 3 lines
Only the first block is expected to take longer (because it decompresses the image and writes it to a LVM volume), the remaining commands should execute much faster, so reduce the timeout.