From: Aravindh Puthiyaparambil <aravindh@virtuata.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] tests: xen-access: minor bug fixes
Date: Thu, 5 May 2011 12:39:37 -0700 [thread overview]
Message-ID: <BANLkTim+UB5s-EWWB=L9KdZJOH9h6j14_g@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 243 bytes --]
Can this patch be applied to both xen-unstable and xen-4.1-testing so that
it makes it into xen-4.1.1?
Thanks,
Aravindh
Fix a couple of minor bugs in xen-access test program.
Signed-off-by: Aravindh Puthiyaparambil <aravindh@virtuata.com>
[-- Attachment #1.2: Type: text/html, Size: 415 bytes --]
[-- Attachment #2: xen-access-bugfixes.patch --]
[-- Type: text/x-patch, Size: 700 bytes --]
diff -r 6a2089f00dc7 tools/tests/xen-access/xen-access.c
--- a/tools/tests/xen-access/xen-access.c Fri Mar 25 10:22:10 2011 +0000
+++ b/tools/tests/xen-access/xen-access.c Thu May 05 12:35:38 2011 -0700
@@ -482,9 +482,6 @@
if ( argc == 3 && argv[0][0] == '-' )
{
- argv++;
- argc--;
-
if ( !strcmp(argv[0], "-m") )
required = 1;
else
@@ -492,6 +489,8 @@
usage(progname);
return -1;
}
+ argv++;
+ argc--;
}
if ( argc != 2 )
@@ -651,8 +650,6 @@
if ( rc == 0 )
rc = rc1;
- xc_interface_close(xch);
-
DPRINTF("xenaccess exit code %d\n", rc);
return rc;
}
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2011-05-05 19:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 19:39 Aravindh Puthiyaparambil [this message]
2011-05-06 7:58 ` [PATCH] tests: xen-access: minor bug fixes Ian Campbell
2011-05-06 8:09 ` Aravindh Puthiyaparambil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTim+UB5s-EWWB=L9KdZJOH9h6j14_g@mail.gmail.com' \
--to=aravindh@virtuata.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).