[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 11/13] rump kernel tests: Specify cmdline via runvar
The runvar <gn>_cmdline is used for the rumpuserxen guest command line. Previously "3" (a binary flags word meaningful to the test/demo program included in rumpuser-xen.git) was hardcoded. Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- make-flight | 1 + ts-rumpuserxen-demo-setup | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/make-flight b/make-flight index cede756..ccfa3e3 100755 --- a/make-flight +++ b/make-flight @@ -124,6 +124,7 @@ do_rumpkernel_tests () { $xenarch $dom0arch \ guests_rumpuserxenbuildjob=build-$rumparch-rumpuserxen \ rump_builtimage=rumpuserxen:/usr/local/lib/xen/rump-kernel \ + rump_cmdline=3 \ all_hostflags=$most_hostflags } diff --git a/ts-rumpuserxen-demo-setup b/ts-rumpuserxen-demo-setup index 34da7cb..04ed0b9 100755 --- a/ts-rumpuserxen-demo-setup +++ b/ts-rumpuserxen-demo-setup @@ -48,6 +48,7 @@ sub prep () { $rkdist = target_extract_jobdistpath_subdir ($ho, "rumpuserxen-$gn", $builtimage_part, $buildjob); my $imagefile = $rkdist.$builtimage_subpath; + my $cmdline = guest_var($gho, 'cmdline', undef); my @images; @@ -66,7 +67,7 @@ sub prep () { s# = .* # " = '$gn'" #xe if $in eq 'name'; s# = .* # " = '$imagefile'" #xe if $in eq 'kernel'; s#\b mac=[0-9a-f:]+ # "mac=$gho->{Ether}" #xe if $in eq 'vif'; - s#\b 4 \b# 3 #xe if $in eq 'extra'; + s# = .* # " = '$cmdline'" #xe if $in eq 'extra'; if ($in eq 'disk') { s{\b img/(\w+.ffs) \b}{ -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |