Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python
python-parted
python-parted-parted-binary.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-parted-parted-binary.patch of Package python-parted
--- tests/baseclass.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/tests/baseclass.py +++ b/tests/baseclass.py @@ -71,7 +71,7 @@ class RequiresFileSystem(unittest.TestCa os.write(self.fd, b"0") self.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) @@ -136,7 +136,7 @@ class RequiresDeviceAlignment(RequiresDe class RequiresLabeledDevice(RequiresDevice): def setUp(self): super().setUp() - 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. @@ -171,7 +171,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