[PATCH] nodeinfodata: Remove broken symlinks

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

 



The 7c3c7f217ebae5 commit introduced a nodeinfo test. In order to do
that, some parts of sysfs had to be copied. However, sysfs is full of
symlinks, so during copying some symlinks broke. Remove them, as on
different systems they can point to different files or be broken.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 tests/nodeinfodata/linux-f21-mustang/cpu/cpu0/subsystem               | 1 -
 tests/nodeinfodata/linux-f21-mustang/cpu/cpu1/subsystem               | 1 -
 tests/nodeinfodata/linux-f21-mustang/cpu/cpu2/subsystem               | 1 -
 tests/nodeinfodata/linux-f21-mustang/cpu/cpu3/subsystem               | 1 -
 tests/nodeinfodata/linux-f21-mustang/cpu/cpu4/subsystem               | 1 -
 tests/nodeinfodata/linux-f21-mustang/cpu/cpu5/subsystem               | 1 -
 tests/nodeinfodata/linux-f21-mustang/cpu/cpu6/subsystem               | 1 -
 tests/nodeinfodata/linux-f21-mustang/cpu/cpu7/subsystem               | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu0/firmware_node | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu0/subsystem     | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu1/firmware_node | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu1/subsystem     | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu2/firmware_node | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu2/subsystem     | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu3/firmware_node | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu3/subsystem     | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu4/firmware_node | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu4/subsystem     | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu5/firmware_node | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu5/subsystem     | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu6/firmware_node | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu6/subsystem     | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu7/firmware_node | 1 -
 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu7/subsystem     | 1 -
 24 files changed, 24 deletions(-)
 delete mode 120000 tests/nodeinfodata/linux-f21-mustang/cpu/cpu0/subsystem
 delete mode 120000 tests/nodeinfodata/linux-f21-mustang/cpu/cpu1/subsystem
 delete mode 120000 tests/nodeinfodata/linux-f21-mustang/cpu/cpu2/subsystem
 delete mode 120000 tests/nodeinfodata/linux-f21-mustang/cpu/cpu3/subsystem
 delete mode 120000 tests/nodeinfodata/linux-f21-mustang/cpu/cpu4/subsystem
 delete mode 120000 tests/nodeinfodata/linux-f21-mustang/cpu/cpu5/subsystem
 delete mode 120000 tests/nodeinfodata/linux-f21-mustang/cpu/cpu6/subsystem
 delete mode 120000 tests/nodeinfodata/linux-f21-mustang/cpu/cpu7/subsystem
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu0/firmware_node
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu0/subsystem
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu1/firmware_node
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu1/subsystem
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu2/firmware_node
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu2/subsystem
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu3/firmware_node
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu3/subsystem
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu4/firmware_node
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu4/subsystem
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu5/firmware_node
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu5/subsystem
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu6/firmware_node
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu6/subsystem
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu7/firmware_node
 delete mode 120000 tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu7/subsystem

diff --git a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu0/subsystem b/tests/nodeinfodata/linux-f21-mustang/cpu/cpu0/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu0/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu1/subsystem b/tests/nodeinfodata/linux-f21-mustang/cpu/cpu1/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu1/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu2/subsystem b/tests/nodeinfodata/linux-f21-mustang/cpu/cpu2/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu2/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu3/subsystem b/tests/nodeinfodata/linux-f21-mustang/cpu/cpu3/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu3/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu4/subsystem b/tests/nodeinfodata/linux-f21-mustang/cpu/cpu4/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu4/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu5/subsystem b/tests/nodeinfodata/linux-f21-mustang/cpu/cpu5/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu5/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu6/subsystem b/tests/nodeinfodata/linux-f21-mustang/cpu/cpu6/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu6/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu7/subsystem b/tests/nodeinfodata/linux-f21-mustang/cpu/cpu7/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-f21-mustang/cpu/cpu7/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu0/firmware_node b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu0/firmware_node
deleted file mode 120000
index 1e6224c..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu0/firmware_node
+++ /dev/null
@@ -1 +0,0 @@
-../../../LNXSYSTM:00/LNXSYBUS:00/ACPI0007:00
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu0/subsystem b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu0/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu0/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu1/firmware_node b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu1/firmware_node
deleted file mode 120000
index 63b63d0..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu1/firmware_node
+++ /dev/null
@@ -1 +0,0 @@
-../../../LNXSYSTM:00/LNXSYBUS:00/ACPI0007:01
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu1/subsystem b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu1/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu1/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu2/firmware_node b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu2/firmware_node
deleted file mode 120000
index 85914d0..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu2/firmware_node
+++ /dev/null
@@ -1 +0,0 @@
-../../../LNXSYSTM:00/LNXSYBUS:00/ACPI0007:02
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu2/subsystem b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu2/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu2/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu3/firmware_node b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu3/firmware_node
deleted file mode 120000
index cfa456c..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu3/firmware_node
+++ /dev/null
@@ -1 +0,0 @@
-../../../LNXSYSTM:00/LNXSYBUS:00/ACPI0007:03
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu3/subsystem b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu3/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu3/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu4/firmware_node b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu4/firmware_node
deleted file mode 120000
index b7ae1a3..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu4/firmware_node
+++ /dev/null
@@ -1 +0,0 @@
-../../../LNXSYSTM:00/LNXSYBUS:00/ACPI0007:04
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu4/subsystem b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu4/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu4/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu5/firmware_node b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu5/firmware_node
deleted file mode 120000
index b25a125..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu5/firmware_node
+++ /dev/null
@@ -1 +0,0 @@
-../../../LNXSYSTM:00/LNXSYBUS:00/ACPI0007:05
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu5/subsystem b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu5/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu5/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu6/firmware_node b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu6/firmware_node
deleted file mode 120000
index 1dd9cb9..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu6/firmware_node
+++ /dev/null
@@ -1 +0,0 @@
-../../../LNXSYSTM:00/LNXSYBUS:00/ACPI0007:06
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu6/subsystem b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu6/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu6/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu7/firmware_node b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu7/firmware_node
deleted file mode 120000
index a1a9eed..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu7/firmware_node
+++ /dev/null
@@ -1 +0,0 @@
-../../../LNXSYSTM:00/LNXSYBUS:00/ACPI0007:07
\ No newline at end of file
diff --git a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu7/subsystem b/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu7/subsystem
deleted file mode 120000
index 758c291..0000000
--- a/tests/nodeinfodata/linux-rhelsa-3.19.0-mustang/cpu/cpu7/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../../../bus/cpu
\ No newline at end of file
-- 
2.0.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]