WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 316] New: xm block-attach returns bad status (0) when at

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 316] New: xm block-attach returns bad status (0) when attempting to attach a non-exist device
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 11 Oct 2005 21:05:42 +0000
Delivery-date: Tue, 11 Oct 2005 21:05:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=316

           Summary: xm block-attach returns bad status (0) when attempting
                    to attach a non-exist device
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: lge@xxxxxxxxxx
                CC: pl@xxxxxxxxxx


Changeset: 7308

07_block_attach_baddevice_neg.test of xm-test fails because xm attach-block
returns success (status 0) when attempting to attach a non-exist device. It
should detect that the device does not exist and return non 0 status and give
out error message.

[root@lamb5 block-create]# xm block-attach
07_block_attach_baddevice_neg-1129062690 phy:NOT-EXIST sdb1 w
[root@lamb5 block-create]# echo $?
0

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 316] New: xm block-attach returns bad status (0) when attempting to attach a non-exist device, bugzilla-daemon <=