fuse: make tests run, but disable
This commit is contained in:
parent
c8baf7cc0c
commit
662756bb6d
@ -4,6 +4,7 @@
|
||||
, fusePackages, utillinux, gettext
|
||||
, meson, ninja, pkgconfig
|
||||
, autoreconfHook
|
||||
, python3Packages, which
|
||||
}:
|
||||
|
||||
let
|
||||
@ -58,6 +59,14 @@ in stdenv.mkDerivation rec {
|
||||
./makeconf.sh
|
||||
'');
|
||||
|
||||
checkInputs = [ which ] ++ (with python3Packages; [ python pytest ]);
|
||||
|
||||
checkPhase = ''
|
||||
python3 -m pytest test/
|
||||
'';
|
||||
|
||||
doCheck = false; # v2: no tests, v3: all tests get skipped in a sandbox
|
||||
|
||||
postFixup = "cd $out\n" + (if isFuse3 then ''
|
||||
install -D -m444 etc/fuse.conf $common/etc/fuse.conf
|
||||
install -D -m444 etc/udev/rules.d/99-fuse3.rules $common/etc/udev/rules.d/99-fuse.rules
|
||||
|
Loading…
Reference in New Issue
Block a user