Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5
python-parted
python-parted-parted-binary.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-parted-parted-binary.patch of Package python-parted
Index: pyparted-3.11.1/tests/baseclass.py =================================================================== --- pyparted-3.11.1.orig/tests/baseclass.py +++ pyparted-3.11.1/tests/baseclass.py @@ -68,7 +68,7 @@ class RequiresFileSystem(unittest.TestCa os.write(fd, b"0") f.close() - os.system("mke2fs -F -q %s" % (self.path,)) + os.system("/usr/sbin/mke2fs -F -q %s" % (self.path,)) self._device = _ped.device_get(self.path) self._geometry = _ped.Geometry(self._device, 0, self._device.length - 1) @@ -133,7 +133,7 @@ class RequiresDeviceAlignment(RequiresDe class RequiresLabeledDevice(RequiresDevice): def setUp(self): RequiresDevice.setUp(self) - os.system("parted -s %s mklabel msdos" % (self.path,)) + os.system("/usr/sbin/parted -s %s mklabel msdos" % (self.path,)) # Base class for any test case that requires a _ped.Disk or parted.Disk. class RequiresDisk(RequiresDevice): @@ -150,7 +150,7 @@ class RequiresMount(RequiresDevice): self.mountpoint = None def mkfs(self): - os.system("mkfs.ext2 -F -q %s" % self.path) + os.system("/usr/sbin/mkfs.ext2 -F -q %s" % self.path) def doMount(self): self.mountpoint = tempfile.mkdtemp()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor