bugGNU GRUB - Bugs: bug #33150, the testsuite should not hardcode...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33150: the testsuite should not hardcode path to parted

Submitter:  Peter Hjalmarsson <xake>
Submitted:  Sun 24 Apr 2011 09:51:25 AM UTC
   
 
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Privacy:  Public
Assigned to:  cjwatson Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  Every Time
Planned Release:  None

Tue 03 May 2011 05:06:28 PM UTC, comment #1: 

Thanks.  I fixed this differently in trunk; we only use the value of that variable to execute parted, so just 'parted=parted' is sufficient (this is just a convenience variable in case somebody wants to run parted from somewhere else).

2011-05-03  Colin Watson  <cjwatson@ubuntu.com>

        * tests/partmap_test.in: Don't hardcode path to parted.
        Reported by: Peter Hjalmarsson.  Fixes Savannah bug #33150.

Colin Watson <cjwatson>
Group Member
Sun 24 Apr 2011 09:51:25 AM UTC, original submission:  

Different distributions places parted in different places (for example it it seems like Debian places it in /sbin, while Gentoo by default places it in /usr/sbin).

So I propose the following patch to remove the hardcoded path to parted, and instead check for it at runtime with the help of which.


Peter Hjalmarsson <xake>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #23295:  which-parted.patch added by xake (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cjwatson (Posted a comment)
  • -email is unavailable- added by xake (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-05-03 cjwatson StatusNone Fixed
        Assigned toNone cjwatson
        Open/ClosedOpen Closed
    2011-04-24 xake Attached File- Added which-parted.patch, #23295

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code