Package: fakeroot Version: 1.19-2 Severity: grave Tags: patch test/t.xattr fails when $PATH does not contain /sbin: setcap and getcap are not found in this case. The attached patch fixes this.
Cheers, -Hilko diff --git a/test/t.xattr b/test/t.xattr index 39e0dd0..a1087fd 100755 --- a/test/t.xattr +++ b/test/t.xattr @@ -23,7 +23,7 @@ fi mkdir $tmp touch $tmp/foo # fakeroot mangles spaces unless the getopt utility is the GNU version -echo "setcap cap_net_raw+ep $tmp/foo; getcap $tmp/foo" >$tmp/sh +echo "/sbin/setcap cap_net_raw+ep $tmp/foo; /sbin/getcap $tmp/foo" >$tmp/sh run_fakeroot -- \ ${posixshell} $tmp/sh >$tmp/out cat $tmp/out -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org