[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 04/33] mg-schema-test-database: Prepare for `daemons' to be cleverer
We are going to want to be able to specify daemons individually. Replace the call to parse_only_suffix so that we have somewhere to parse extra arguments. No functional change yet. Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- mg-schema-test-database | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mg-schema-test-database b/mg-schema-test-database index 88a75cf..85cc050 100755 --- a/mg-schema-test-database +++ b/mg-schema-test-database @@ -557,7 +557,12 @@ END #========== DAEMONS ========== daemons) - parse_only_suffix "$@" + for arg in "$@"; do + case "$arg" in + _*) suffix="$arg" ;; + *) fail 'bad usage' ;; + esac + done dbname -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |