mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 14:41:27 +00:00
python-pyparted: Fix test cases for 32bit systems.
Fixes http://hydra.nixos.org/build/5425941 Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
b0f4ae64c2
commit
f04b0db6d3
@ -3753,6 +3753,10 @@ pythonPackages = python.modules // rec {
|
||||
sed -i -e '
|
||||
s|e\.path\.startswith("/tmp/temp-device-")|"temp-device-" in e.path|
|
||||
' tests/test__ped_ped.py
|
||||
'' + pkgs.lib.optionalString stdenv.isi686 ''
|
||||
# remove some integers in this test case which overflow on 32bit systems
|
||||
sed -i -r -e '/class *UnitGetSizeTestCase/,/^$/{/[0-9]{11}/d}' \
|
||||
tests/test__ped_ped.py
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
Loading…
Reference in New Issue
Block a user