[Patch] kernel-tests master: Fix path to ignore-files.sh in sysfs-perms test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Without this change the sysfs-perms test was failing and printing
"ignore-files.sh: command not found" into the kernel-tests log.

This patch fixes that error and allows the sysfs-perms test to run.

Signed-off-by: Donavan Lance <tusklahoma@xxxxxxxxx>
---
 default/sysfs-perms/runtest.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/default/sysfs-perms/runtest.sh b/default/sysfs-perms/runtest.sh
index 351af76..54c4c28 100755
--- a/default/sysfs-perms/runtest.sh
+++ b/default/sysfs-perms/runtest.sh
@@ -6,7 +6,7 @@ COUNT=$(find /sys -type f -perm 666 | ./ignore-files.sh | wc -l)

 if [ "$COUNT" != "0" ]; then
        echo Found world-writable files in sysfs.
-       find /sys -type f -perm 666 | ignore-files.sh
+       find /sys -type f -perm 666 | ./ignore-files.sh
        exit -1
 fi

-- 
2.4.3
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kernel




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux