summaryrefslogtreecommitdiff
path: root/test/sys/class/tty
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-29 04:12:44 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-29 04:12:44 +0200
commitc7fcba1bf4d0da13b66396c08c0b5f62b25d0405 (patch)
treef85741e12b958c1430750355fb4f463e4f299df3 /test/sys/class/tty
parent438d4c3cd4b89381348f84ef9f8b8937814f8362 (diff)
test: replace ancient sysfs tree with recent one
Diffstat (limited to 'test/sys/class/tty')
l---------test/sys/class/tty/console1
-rw-r--r--test/sys/class/tty/console/dev1
l---------test/sys/class/tty/console/subsystem1
l---------test/sys/class/tty/ptmx1
-rw-r--r--test/sys/class/tty/ptmx/dev1
l---------test/sys/class/tty/ptmx/subsystem1
l---------test/sys/class/tty/tty1
-rw-r--r--test/sys/class/tty/tty/dev1
l---------test/sys/class/tty/tty/subsystem1
l---------test/sys/class/tty/tty01
-rw-r--r--test/sys/class/tty/tty0/dev1
l---------test/sys/class/tty/tty0/subsystem1
l---------test/sys/class/tty/tty11
-rw-r--r--test/sys/class/tty/tty1/dev1
l---------test/sys/class/tty/tty1/subsystem1
l---------test/sys/class/tty/tty101
-rw-r--r--test/sys/class/tty/tty10/dev1
l---------test/sys/class/tty/tty10/subsystem1
l---------test/sys/class/tty/tty111
-rw-r--r--test/sys/class/tty/tty11/dev1
l---------test/sys/class/tty/tty11/subsystem1
l---------test/sys/class/tty/tty121
-rw-r--r--test/sys/class/tty/tty12/dev1
l---------test/sys/class/tty/tty12/subsystem1
l---------test/sys/class/tty/tty131
-rw-r--r--test/sys/class/tty/tty13/dev1
l---------test/sys/class/tty/tty13/subsystem1
l---------test/sys/class/tty/tty141
-rw-r--r--test/sys/class/tty/tty14/dev1
l---------test/sys/class/tty/tty14/subsystem1
l---------test/sys/class/tty/tty151
-rw-r--r--test/sys/class/tty/tty15/dev1
l---------test/sys/class/tty/tty15/subsystem1
l---------test/sys/class/tty/tty161
-rw-r--r--test/sys/class/tty/tty16/dev1
l---------test/sys/class/tty/tty16/subsystem1
l---------test/sys/class/tty/tty171
-rw-r--r--test/sys/class/tty/tty17/dev1
l---------test/sys/class/tty/tty17/subsystem1
l---------test/sys/class/tty/tty181
-rw-r--r--test/sys/class/tty/tty18/dev1
l---------test/sys/class/tty/tty18/subsystem1
l---------test/sys/class/tty/tty191
-rw-r--r--test/sys/class/tty/tty19/dev1
l---------test/sys/class/tty/tty19/subsystem1
l---------test/sys/class/tty/tty21
-rw-r--r--test/sys/class/tty/tty2/dev1
l---------test/sys/class/tty/tty2/subsystem1
l---------test/sys/class/tty/tty201
-rw-r--r--test/sys/class/tty/tty20/dev1
l---------test/sys/class/tty/tty20/subsystem1
l---------test/sys/class/tty/tty211
-rw-r--r--test/sys/class/tty/tty21/dev1
l---------test/sys/class/tty/tty21/subsystem1
l---------test/sys/class/tty/tty221
-rw-r--r--test/sys/class/tty/tty22/dev1
l---------test/sys/class/tty/tty22/subsystem1
l---------test/sys/class/tty/tty231
-rw-r--r--test/sys/class/tty/tty23/dev1
l---------test/sys/class/tty/tty23/subsystem1
l---------test/sys/class/tty/tty241
-rw-r--r--test/sys/class/tty/tty24/dev1
l---------test/sys/class/tty/tty24/subsystem1
l---------test/sys/class/tty/tty251
-rw-r--r--test/sys/class/tty/tty25/dev1
l---------test/sys/class/tty/tty25/subsystem1
l---------test/sys/class/tty/tty261
-rw-r--r--test/sys/class/tty/tty26/dev1
l---------test/sys/class/tty/tty26/subsystem1
l---------test/sys/class/tty/tty271
-rw-r--r--test/sys/class/tty/tty27/dev1
l---------test/sys/class/tty/tty27/subsystem1
l---------test/sys/class/tty/tty281
-rw-r--r--test/sys/class/tty/tty28/dev1
l---------test/sys/class/tty/tty28/subsystem1
l---------test/sys/class/tty/tty291
-rw-r--r--test/sys/class/tty/tty29/dev1
l---------test/sys/class/tty/tty29/subsystem1
l---------test/sys/class/tty/tty31
-rw-r--r--test/sys/class/tty/tty3/dev1
l---------test/sys/class/tty/tty3/subsystem1
l---------test/sys/class/tty/tty301
-rw-r--r--test/sys/class/tty/tty30/dev1
l---------test/sys/class/tty/tty30/subsystem1
l---------test/sys/class/tty/tty311
-rw-r--r--test/sys/class/tty/tty31/dev1
l---------test/sys/class/tty/tty31/subsystem1
l---------test/sys/class/tty/tty321
-rw-r--r--test/sys/class/tty/tty32/dev1
l---------test/sys/class/tty/tty32/subsystem1
l---------test/sys/class/tty/tty331
-rw-r--r--test/sys/class/tty/tty33/dev1
l---------test/sys/class/tty/tty33/subsystem1
l---------test/sys/class/tty/tty341
-rw-r--r--test/sys/class/tty/tty34/dev1
l---------test/sys/class/tty/tty34/subsystem1
l---------test/sys/class/tty/tty351
-rw-r--r--test/sys/class/tty/tty35/dev1
l---------test/sys/class/tty/tty35/subsystem1
l---------test/sys/class/tty/tty361
-rw-r--r--test/sys/class/tty/tty36/dev1
l---------test/sys/class/tty/tty36/subsystem1
l---------test/sys/class/tty/tty371
-rw-r--r--test/sys/class/tty/tty37/dev1
l---------test/sys/class/tty/tty37/subsystem1
l---------test/sys/class/tty/tty381
-rw-r--r--test/sys/class/tty/tty38/dev1
l---------test/sys/class/tty/tty38/subsystem1
l---------test/sys/class/tty/tty391
-rw-r--r--test/sys/class/tty/tty39/dev1
l---------test/sys/class/tty/tty39/subsystem1
l---------test/sys/class/tty/tty41
-rw-r--r--test/sys/class/tty/tty4/dev1
l---------test/sys/class/tty/tty4/subsystem1
l---------test/sys/class/tty/tty401
-rw-r--r--test/sys/class/tty/tty40/dev1
l---------test/sys/class/tty/tty40/subsystem1
l---------test/sys/class/tty/tty411
-rw-r--r--test/sys/class/tty/tty41/dev1
l---------test/sys/class/tty/tty41/subsystem1
l---------test/sys/class/tty/tty421
-rw-r--r--test/sys/class/tty/tty42/dev1
l---------test/sys/class/tty/tty42/subsystem1
l---------test/sys/class/tty/tty431
-rw-r--r--test/sys/class/tty/tty43/dev1
l---------test/sys/class/tty/tty43/subsystem1
l---------test/sys/class/tty/tty441
-rw-r--r--test/sys/class/tty/tty44/dev1
l---------test/sys/class/tty/tty44/subsystem1
l---------test/sys/class/tty/tty451
-rw-r--r--test/sys/class/tty/tty45/dev1
l---------test/sys/class/tty/tty45/subsystem1
l---------test/sys/class/tty/tty461
-rw-r--r--test/sys/class/tty/tty46/dev1
l---------test/sys/class/tty/tty46/subsystem1
l---------test/sys/class/tty/tty471
-rw-r--r--test/sys/class/tty/tty47/dev1
l---------test/sys/class/tty/tty47/subsystem1
l---------test/sys/class/tty/tty481
-rw-r--r--test/sys/class/tty/tty48/dev1
l---------test/sys/class/tty/tty48/subsystem1
l---------test/sys/class/tty/tty491
-rw-r--r--test/sys/class/tty/tty49/dev1
l---------test/sys/class/tty/tty49/subsystem1
l---------test/sys/class/tty/tty51
-rw-r--r--test/sys/class/tty/tty5/dev1
l---------test/sys/class/tty/tty5/subsystem1
l---------test/sys/class/tty/tty501
-rw-r--r--test/sys/class/tty/tty50/dev1
l---------test/sys/class/tty/tty50/subsystem1
l---------test/sys/class/tty/tty511
-rw-r--r--test/sys/class/tty/tty51/dev1
l---------test/sys/class/tty/tty51/subsystem1
l---------test/sys/class/tty/tty521
-rw-r--r--test/sys/class/tty/tty52/dev1
l---------test/sys/class/tty/tty52/subsystem1
l---------test/sys/class/tty/tty531
-rw-r--r--test/sys/class/tty/tty53/dev1
l---------test/sys/class/tty/tty53/subsystem1
l---------test/sys/class/tty/tty541
-rw-r--r--test/sys/class/tty/tty54/dev1
l---------test/sys/class/tty/tty54/subsystem1
l---------test/sys/class/tty/tty551
-rw-r--r--test/sys/class/tty/tty55/dev1
l---------test/sys/class/tty/tty55/subsystem1
l---------test/sys/class/tty/tty561
-rw-r--r--test/sys/class/tty/tty56/dev1
l---------test/sys/class/tty/tty56/subsystem1
l---------test/sys/class/tty/tty571
-rw-r--r--test/sys/class/tty/tty57/dev1
l---------test/sys/class/tty/tty57/subsystem1
l---------test/sys/class/tty/tty581
-rw-r--r--test/sys/class/tty/tty58/dev1
l---------test/sys/class/tty/tty58/subsystem1
l---------test/sys/class/tty/tty591
-rw-r--r--test/sys/class/tty/tty59/dev1
l---------test/sys/class/tty/tty59/subsystem1
l---------test/sys/class/tty/tty61
-rw-r--r--test/sys/class/tty/tty6/dev1
l---------test/sys/class/tty/tty6/subsystem1
l---------test/sys/class/tty/tty601
-rw-r--r--test/sys/class/tty/tty60/dev1
l---------test/sys/class/tty/tty60/subsystem1
l---------test/sys/class/tty/tty611
-rw-r--r--test/sys/class/tty/tty61/dev1
l---------test/sys/class/tty/tty61/subsystem1
l---------test/sys/class/tty/tty621
-rw-r--r--test/sys/class/tty/tty62/dev1
l---------test/sys/class/tty/tty62/subsystem1
l---------test/sys/class/tty/tty631
-rw-r--r--test/sys/class/tty/tty63/dev1
l---------test/sys/class/tty/tty63/subsystem1
l---------test/sys/class/tty/tty71
-rw-r--r--test/sys/class/tty/tty7/dev1
l---------test/sys/class/tty/tty7/subsystem1
l---------test/sys/class/tty/tty81
-rw-r--r--test/sys/class/tty/tty8/dev1
l---------test/sys/class/tty/tty8/subsystem1
l---------test/sys/class/tty/tty91
-rw-r--r--test/sys/class/tty/tty9/dev1
l---------test/sys/class/tty/tty9/subsystem1
l---------test/sys/class/tty/ttyACM01
l---------test/sys/class/tty/ttyS01
-rw-r--r--test/sys/class/tty/ttyS0/dev1
l---------test/sys/class/tty/ttyS0/subsystem1
l---------test/sys/class/tty/ttyS11
-rw-r--r--test/sys/class/tty/ttyS1/dev1
l---------test/sys/class/tty/ttyS1/subsystem1
l---------test/sys/class/tty/ttyS21
-rw-r--r--test/sys/class/tty/ttyS2/dev1
l---------test/sys/class/tty/ttyS2/subsystem1
l---------test/sys/class/tty/ttyS31
-rw-r--r--test/sys/class/tty/ttyS3/dev1
l---------test/sys/class/tty/ttyS3/subsystem1
-rw-r--r--test/sys/class/tty/ttyS4/dev1
l---------test/sys/class/tty/ttyS4/subsystem1
-rw-r--r--test/sys/class/tty/ttyS5/dev1
l---------test/sys/class/tty/ttyS5/subsystem1
-rw-r--r--test/sys/class/tty/ttyS6/dev1
l---------test/sys/class/tty/ttyS6/subsystem1
-rw-r--r--test/sys/class/tty/ttyS7/dev1
l---------test/sys/class/tty/ttyS7/subsystem1
-rw-r--r--test/sys/class/tty/ttyUSB0/dev1
l---------test/sys/class/tty/ttyUSB0/device1
l---------test/sys/class/tty/ttyUSB0/subsystem1
225 files changed, 72 insertions, 153 deletions
diff --git a/test/sys/class/tty/console b/test/sys/class/tty/console
new file mode 120000
index 0000000000..2483dd2791
--- /dev/null
+++ b/test/sys/class/tty/console
@@ -0,0 +1 @@
+../../devices/virtual/tty/console \ No newline at end of file
diff --git a/test/sys/class/tty/console/dev b/test/sys/class/tty/console/dev
deleted file mode 100644
index 99eb99cd27..0000000000
--- a/test/sys/class/tty/console/dev
+++ /dev/null
@@ -1 +0,0 @@
-5:1
diff --git a/test/sys/class/tty/console/subsystem b/test/sys/class/tty/console/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/console/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/ptmx b/test/sys/class/tty/ptmx
new file mode 120000
index 0000000000..9c489ead9f
--- /dev/null
+++ b/test/sys/class/tty/ptmx
@@ -0,0 +1 @@
+../../devices/virtual/tty/ptmx \ No newline at end of file
diff --git a/test/sys/class/tty/ptmx/dev b/test/sys/class/tty/ptmx/dev
deleted file mode 100644
index b1df63ebd3..0000000000
--- a/test/sys/class/tty/ptmx/dev
+++ /dev/null
@@ -1 +0,0 @@
-5:2
diff --git a/test/sys/class/tty/ptmx/subsystem b/test/sys/class/tty/ptmx/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/ptmx/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty b/test/sys/class/tty/tty
new file mode 120000
index 0000000000..e67d736497
--- /dev/null
+++ b/test/sys/class/tty/tty
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty/dev b/test/sys/class/tty/tty/dev
deleted file mode 100644
index 97f5a222f0..0000000000
--- a/test/sys/class/tty/tty/dev
+++ /dev/null
@@ -1 +0,0 @@
-5:0
diff --git a/test/sys/class/tty/tty/subsystem b/test/sys/class/tty/tty/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty0 b/test/sys/class/tty/tty0
new file mode 120000
index 0000000000..1ebbbc882a
--- /dev/null
+++ b/test/sys/class/tty/tty0
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty0 \ No newline at end of file
diff --git a/test/sys/class/tty/tty0/dev b/test/sys/class/tty/tty0/dev
deleted file mode 100644
index 192d8b739c..0000000000
--- a/test/sys/class/tty/tty0/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:0
diff --git a/test/sys/class/tty/tty0/subsystem b/test/sys/class/tty/tty0/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty0/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty1 b/test/sys/class/tty/tty1
new file mode 120000
index 0000000000..e0418dabc9
--- /dev/null
+++ b/test/sys/class/tty/tty1
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty1 \ No newline at end of file
diff --git a/test/sys/class/tty/tty1/dev b/test/sys/class/tty/tty1/dev
deleted file mode 100644
index 71275a262f..0000000000
--- a/test/sys/class/tty/tty1/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:1
diff --git a/test/sys/class/tty/tty1/subsystem b/test/sys/class/tty/tty1/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty1/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty10 b/test/sys/class/tty/tty10
new file mode 120000
index 0000000000..319d31f915
--- /dev/null
+++ b/test/sys/class/tty/tty10
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty10 \ No newline at end of file
diff --git a/test/sys/class/tty/tty10/dev b/test/sys/class/tty/tty10/dev
deleted file mode 100644
index eb477d040f..0000000000
--- a/test/sys/class/tty/tty10/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:10
diff --git a/test/sys/class/tty/tty10/subsystem b/test/sys/class/tty/tty10/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty10/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty11 b/test/sys/class/tty/tty11
new file mode 120000
index 0000000000..9c76e05207
--- /dev/null
+++ b/test/sys/class/tty/tty11
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty11 \ No newline at end of file
diff --git a/test/sys/class/tty/tty11/dev b/test/sys/class/tty/tty11/dev
deleted file mode 100644
index 685b194273..0000000000
--- a/test/sys/class/tty/tty11/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:11
diff --git a/test/sys/class/tty/tty11/subsystem b/test/sys/class/tty/tty11/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty11/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty12 b/test/sys/class/tty/tty12
new file mode 120000
index 0000000000..abac0f831a
--- /dev/null
+++ b/test/sys/class/tty/tty12
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty12 \ No newline at end of file
diff --git a/test/sys/class/tty/tty12/dev b/test/sys/class/tty/tty12/dev
deleted file mode 100644
index 47b68a96a5..0000000000
--- a/test/sys/class/tty/tty12/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:12
diff --git a/test/sys/class/tty/tty12/subsystem b/test/sys/class/tty/tty12/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty12/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty13 b/test/sys/class/tty/tty13
new file mode 120000
index 0000000000..c3812100e0
--- /dev/null
+++ b/test/sys/class/tty/tty13
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty13 \ No newline at end of file
diff --git a/test/sys/class/tty/tty13/dev b/test/sys/class/tty/tty13/dev
deleted file mode 100644
index 86e31456d2..0000000000
--- a/test/sys/class/tty/tty13/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:13
diff --git a/test/sys/class/tty/tty13/subsystem b/test/sys/class/tty/tty13/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty13/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty14 b/test/sys/class/tty/tty14
new file mode 120000
index 0000000000..63bd3a6764
--- /dev/null
+++ b/test/sys/class/tty/tty14
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty14 \ No newline at end of file
diff --git a/test/sys/class/tty/tty14/dev b/test/sys/class/tty/tty14/dev
deleted file mode 100644
index 9fa8103ff8..0000000000
--- a/test/sys/class/tty/tty14/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:14
diff --git a/test/sys/class/tty/tty14/subsystem b/test/sys/class/tty/tty14/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty14/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty15 b/test/sys/class/tty/tty15
new file mode 120000
index 0000000000..e2c5914874
--- /dev/null
+++ b/test/sys/class/tty/tty15
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty15 \ No newline at end of file
diff --git a/test/sys/class/tty/tty15/dev b/test/sys/class/tty/tty15/dev
deleted file mode 100644
index 3f601b851f..0000000000
--- a/test/sys/class/tty/tty15/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:15
diff --git a/test/sys/class/tty/tty15/subsystem b/test/sys/class/tty/tty15/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty15/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty16 b/test/sys/class/tty/tty16
new file mode 120000
index 0000000000..d8846a866d
--- /dev/null
+++ b/test/sys/class/tty/tty16
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty16 \ No newline at end of file
diff --git a/test/sys/class/tty/tty16/dev b/test/sys/class/tty/tty16/dev
deleted file mode 100644
index 0310e8064a..0000000000
--- a/test/sys/class/tty/tty16/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:16
diff --git a/test/sys/class/tty/tty16/subsystem b/test/sys/class/tty/tty16/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty16/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty17 b/test/sys/class/tty/tty17
new file mode 120000
index 0000000000..a488b19305
--- /dev/null
+++ b/test/sys/class/tty/tty17
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty17 \ No newline at end of file
diff --git a/test/sys/class/tty/tty17/dev b/test/sys/class/tty/tty17/dev
deleted file mode 100644
index 19360464d0..0000000000
--- a/test/sys/class/tty/tty17/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:17
diff --git a/test/sys/class/tty/tty17/subsystem b/test/sys/class/tty/tty17/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty17/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty18 b/test/sys/class/tty/tty18
new file mode 120000
index 0000000000..933880a8c7
--- /dev/null
+++ b/test/sys/class/tty/tty18
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty18 \ No newline at end of file
diff --git a/test/sys/class/tty/tty18/dev b/test/sys/class/tty/tty18/dev
deleted file mode 100644
index 8710c48f12..0000000000
--- a/test/sys/class/tty/tty18/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:18
diff --git a/test/sys/class/tty/tty18/subsystem b/test/sys/class/tty/tty18/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty18/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty19 b/test/sys/class/tty/tty19
new file mode 120000
index 0000000000..398ff33d7a
--- /dev/null
+++ b/test/sys/class/tty/tty19
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty19 \ No newline at end of file
diff --git a/test/sys/class/tty/tty19/dev b/test/sys/class/tty/tty19/dev
deleted file mode 100644
index 5fac93ed2f..0000000000
--- a/test/sys/class/tty/tty19/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:19
diff --git a/test/sys/class/tty/tty19/subsystem b/test/sys/class/tty/tty19/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty19/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty2 b/test/sys/class/tty/tty2
new file mode 120000
index 0000000000..15b216c9f4
--- /dev/null
+++ b/test/sys/class/tty/tty2
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty2 \ No newline at end of file
diff --git a/test/sys/class/tty/tty2/dev b/test/sys/class/tty/tty2/dev
deleted file mode 100644
index ac0836d7ca..0000000000
--- a/test/sys/class/tty/tty2/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:2
diff --git a/test/sys/class/tty/tty2/subsystem b/test/sys/class/tty/tty2/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty2/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty20 b/test/sys/class/tty/tty20
new file mode 120000
index 0000000000..bacbb6a5cc
--- /dev/null
+++ b/test/sys/class/tty/tty20
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty20 \ No newline at end of file
diff --git a/test/sys/class/tty/tty20/dev b/test/sys/class/tty/tty20/dev
deleted file mode 100644
index 3db4a84c87..0000000000
--- a/test/sys/class/tty/tty20/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:20
diff --git a/test/sys/class/tty/tty20/subsystem b/test/sys/class/tty/tty20/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty20/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty21 b/test/sys/class/tty/tty21
new file mode 120000
index 0000000000..73f9c8c982
--- /dev/null
+++ b/test/sys/class/tty/tty21
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty21 \ No newline at end of file
diff --git a/test/sys/class/tty/tty21/dev b/test/sys/class/tty/tty21/dev
deleted file mode 100644
index f86a02508c..0000000000
--- a/test/sys/class/tty/tty21/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:21
diff --git a/test/sys/class/tty/tty21/subsystem b/test/sys/class/tty/tty21/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty21/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty22 b/test/sys/class/tty/tty22
new file mode 120000
index 0000000000..a2a0d8ca63
--- /dev/null
+++ b/test/sys/class/tty/tty22
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty22 \ No newline at end of file
diff --git a/test/sys/class/tty/tty22/dev b/test/sys/class/tty/tty22/dev
deleted file mode 100644
index b27a240d1a..0000000000
--- a/test/sys/class/tty/tty22/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:22
diff --git a/test/sys/class/tty/tty22/subsystem b/test/sys/class/tty/tty22/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty22/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty23 b/test/sys/class/tty/tty23
new file mode 120000
index 0000000000..8daebf5f43
--- /dev/null
+++ b/test/sys/class/tty/tty23
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty23 \ No newline at end of file
diff --git a/test/sys/class/tty/tty23/dev b/test/sys/class/tty/tty23/dev
deleted file mode 100644
index 9359bfa71d..0000000000
--- a/test/sys/class/tty/tty23/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:23
diff --git a/test/sys/class/tty/tty23/subsystem b/test/sys/class/tty/tty23/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty23/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty24 b/test/sys/class/tty/tty24
new file mode 120000
index 0000000000..67a64368f8
--- /dev/null
+++ b/test/sys/class/tty/tty24
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty24 \ No newline at end of file
diff --git a/test/sys/class/tty/tty24/dev b/test/sys/class/tty/tty24/dev
deleted file mode 100644
index 9cd85c8a81..0000000000
--- a/test/sys/class/tty/tty24/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:24
diff --git a/test/sys/class/tty/tty24/subsystem b/test/sys/class/tty/tty24/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty24/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty25 b/test/sys/class/tty/tty25
new file mode 120000
index 0000000000..4f8d0795d2
--- /dev/null
+++ b/test/sys/class/tty/tty25
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty25 \ No newline at end of file
diff --git a/test/sys/class/tty/tty25/dev b/test/sys/class/tty/tty25/dev
deleted file mode 100644
index f9d8c9c059..0000000000
--- a/test/sys/class/tty/tty25/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:25
diff --git a/test/sys/class/tty/tty25/subsystem b/test/sys/class/tty/tty25/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty25/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty26 b/test/sys/class/tty/tty26
new file mode 120000
index 0000000000..2f65d8be1d
--- /dev/null
+++ b/test/sys/class/tty/tty26
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty26 \ No newline at end of file
diff --git a/test/sys/class/tty/tty26/dev b/test/sys/class/tty/tty26/dev
deleted file mode 100644
index 210b637b97..0000000000
--- a/test/sys/class/tty/tty26/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:26
diff --git a/test/sys/class/tty/tty26/subsystem b/test/sys/class/tty/tty26/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty26/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty27 b/test/sys/class/tty/tty27
new file mode 120000
index 0000000000..0d1a42b943
--- /dev/null
+++ b/test/sys/class/tty/tty27
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty27 \ No newline at end of file
diff --git a/test/sys/class/tty/tty27/dev b/test/sys/class/tty/tty27/dev
deleted file mode 100644
index de59b627a5..0000000000
--- a/test/sys/class/tty/tty27/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:27
diff --git a/test/sys/class/tty/tty27/subsystem b/test/sys/class/tty/tty27/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty27/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty28 b/test/sys/class/tty/tty28
new file mode 120000
index 0000000000..1419911bde
--- /dev/null
+++ b/test/sys/class/tty/tty28
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty28 \ No newline at end of file
diff --git a/test/sys/class/tty/tty28/dev b/test/sys/class/tty/tty28/dev
deleted file mode 100644
index 023871c676..0000000000
--- a/test/sys/class/tty/tty28/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:28
diff --git a/test/sys/class/tty/tty28/subsystem b/test/sys/class/tty/tty28/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty28/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty29 b/test/sys/class/tty/tty29
new file mode 120000
index 0000000000..2d15900bf2
--- /dev/null
+++ b/test/sys/class/tty/tty29
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty29 \ No newline at end of file
diff --git a/test/sys/class/tty/tty29/dev b/test/sys/class/tty/tty29/dev
deleted file mode 100644
index 2edd7c58af..0000000000
--- a/test/sys/class/tty/tty29/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:29
diff --git a/test/sys/class/tty/tty29/subsystem b/test/sys/class/tty/tty29/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty29/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty3 b/test/sys/class/tty/tty3
new file mode 120000
index 0000000000..7764e1c747
--- /dev/null
+++ b/test/sys/class/tty/tty3
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty3 \ No newline at end of file
diff --git a/test/sys/class/tty/tty3/dev b/test/sys/class/tty/tty3/dev
deleted file mode 100644
index c8142884a4..0000000000
--- a/test/sys/class/tty/tty3/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:3
diff --git a/test/sys/class/tty/tty3/subsystem b/test/sys/class/tty/tty3/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty3/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty30 b/test/sys/class/tty/tty30
new file mode 120000
index 0000000000..d8bb78d95e
--- /dev/null
+++ b/test/sys/class/tty/tty30
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty30 \ No newline at end of file
diff --git a/test/sys/class/tty/tty30/dev b/test/sys/class/tty/tty30/dev
deleted file mode 100644
index 63f0e669b8..0000000000
--- a/test/sys/class/tty/tty30/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:30
diff --git a/test/sys/class/tty/tty30/subsystem b/test/sys/class/tty/tty30/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty30/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty31 b/test/sys/class/tty/tty31
new file mode 120000
index 0000000000..4f5a23296a
--- /dev/null
+++ b/test/sys/class/tty/tty31
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty31 \ No newline at end of file
diff --git a/test/sys/class/tty/tty31/dev b/test/sys/class/tty/tty31/dev
deleted file mode 100644
index 77a50eeff5..0000000000
--- a/test/sys/class/tty/tty31/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:31
diff --git a/test/sys/class/tty/tty31/subsystem b/test/sys/class/tty/tty31/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty31/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty32 b/test/sys/class/tty/tty32
new file mode 120000
index 0000000000..5d1dc6fe32
--- /dev/null
+++ b/test/sys/class/tty/tty32
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty32 \ No newline at end of file
diff --git a/test/sys/class/tty/tty32/dev b/test/sys/class/tty/tty32/dev
deleted file mode 100644
index ae38a8dcd7..0000000000
--- a/test/sys/class/tty/tty32/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:32
diff --git a/test/sys/class/tty/tty32/subsystem b/test/sys/class/tty/tty32/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty32/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty33 b/test/sys/class/tty/tty33
new file mode 120000
index 0000000000..95bb3af2f0
--- /dev/null
+++ b/test/sys/class/tty/tty33
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty33 \ No newline at end of file
diff --git a/test/sys/class/tty/tty33/dev b/test/sys/class/tty/tty33/dev
deleted file mode 100644
index 9307b44cd0..0000000000
--- a/test/sys/class/tty/tty33/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:33
diff --git a/test/sys/class/tty/tty33/subsystem b/test/sys/class/tty/tty33/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty33/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty34 b/test/sys/class/tty/tty34
new file mode 120000
index 0000000000..9212f5c8ac
--- /dev/null
+++ b/test/sys/class/tty/tty34
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty34 \ No newline at end of file
diff --git a/test/sys/class/tty/tty34/dev b/test/sys/class/tty/tty34/dev
deleted file mode 100644
index be00cbe67c..0000000000
--- a/test/sys/class/tty/tty34/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:34
diff --git a/test/sys/class/tty/tty34/subsystem b/test/sys/class/tty/tty34/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty34/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty35 b/test/sys/class/tty/tty35
new file mode 120000
index 0000000000..7a3ebc2945
--- /dev/null
+++ b/test/sys/class/tty/tty35
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty35 \ No newline at end of file
diff --git a/test/sys/class/tty/tty35/dev b/test/sys/class/tty/tty35/dev
deleted file mode 100644
index 4e5e85cb70..0000000000
--- a/test/sys/class/tty/tty35/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:35
diff --git a/test/sys/class/tty/tty35/subsystem b/test/sys/class/tty/tty35/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty35/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty36 b/test/sys/class/tty/tty36
new file mode 120000
index 0000000000..96a7b1a62e
--- /dev/null
+++ b/test/sys/class/tty/tty36
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty36 \ No newline at end of file
diff --git a/test/sys/class/tty/tty36/dev b/test/sys/class/tty/tty36/dev
deleted file mode 100644
index 4e5407ef59..0000000000
--- a/test/sys/class/tty/tty36/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:36
diff --git a/test/sys/class/tty/tty36/subsystem b/test/sys/class/tty/tty36/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty36/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty37 b/test/sys/class/tty/tty37
new file mode 120000
index 0000000000..520543a8c2
--- /dev/null
+++ b/test/sys/class/tty/tty37
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty37 \ No newline at end of file
diff --git a/test/sys/class/tty/tty37/dev b/test/sys/class/tty/tty37/dev
deleted file mode 100644
index 765acf2d2c..0000000000
--- a/test/sys/class/tty/tty37/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:37
diff --git a/test/sys/class/tty/tty37/subsystem b/test/sys/class/tty/tty37/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty37/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty38 b/test/sys/class/tty/tty38
new file mode 120000
index 0000000000..6ad284dfdc
--- /dev/null
+++ b/test/sys/class/tty/tty38
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty38 \ No newline at end of file
diff --git a/test/sys/class/tty/tty38/dev b/test/sys/class/tty/tty38/dev
deleted file mode 100644
index 1532b15793..0000000000
--- a/test/sys/class/tty/tty38/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:38
diff --git a/test/sys/class/tty/tty38/subsystem b/test/sys/class/tty/tty38/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty38/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty39 b/test/sys/class/tty/tty39
new file mode 120000
index 0000000000..d001bab9ee
--- /dev/null
+++ b/test/sys/class/tty/tty39
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty39 \ No newline at end of file
diff --git a/test/sys/class/tty/tty39/dev b/test/sys/class/tty/tty39/dev
deleted file mode 100644
index fac383d3df..0000000000
--- a/test/sys/class/tty/tty39/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:39
diff --git a/test/sys/class/tty/tty39/subsystem b/test/sys/class/tty/tty39/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty39/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty4 b/test/sys/class/tty/tty4
new file mode 120000
index 0000000000..784bf4d728
--- /dev/null
+++ b/test/sys/class/tty/tty4
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty4 \ No newline at end of file
diff --git a/test/sys/class/tty/tty4/dev b/test/sys/class/tty/tty4/dev
deleted file mode 100644
index 7f407b5d25..0000000000
--- a/test/sys/class/tty/tty4/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:4
diff --git a/test/sys/class/tty/tty4/subsystem b/test/sys/class/tty/tty4/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty4/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty40 b/test/sys/class/tty/tty40
new file mode 120000
index 0000000000..dc6ea499d3
--- /dev/null
+++ b/test/sys/class/tty/tty40
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty40 \ No newline at end of file
diff --git a/test/sys/class/tty/tty40/dev b/test/sys/class/tty/tty40/dev
deleted file mode 100644
index d7246138ac..0000000000
--- a/test/sys/class/tty/tty40/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:40
diff --git a/test/sys/class/tty/tty40/subsystem b/test/sys/class/tty/tty40/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty40/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty41 b/test/sys/class/tty/tty41
new file mode 120000
index 0000000000..8a8f597f36
--- /dev/null
+++ b/test/sys/class/tty/tty41
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty41 \ No newline at end of file
diff --git a/test/sys/class/tty/tty41/dev b/test/sys/class/tty/tty41/dev
deleted file mode 100644
index 0d974303d5..0000000000
--- a/test/sys/class/tty/tty41/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:41
diff --git a/test/sys/class/tty/tty41/subsystem b/test/sys/class/tty/tty41/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty41/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty42 b/test/sys/class/tty/tty42
new file mode 120000
index 0000000000..397f4316e3
--- /dev/null
+++ b/test/sys/class/tty/tty42
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty42 \ No newline at end of file
diff --git a/test/sys/class/tty/tty42/dev b/test/sys/class/tty/tty42/dev
deleted file mode 100644
index 4019d23bfa..0000000000
--- a/test/sys/class/tty/tty42/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:42
diff --git a/test/sys/class/tty/tty42/subsystem b/test/sys/class/tty/tty42/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty42/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty43 b/test/sys/class/tty/tty43
new file mode 120000
index 0000000000..77f93885e1
--- /dev/null
+++ b/test/sys/class/tty/tty43
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty43 \ No newline at end of file
diff --git a/test/sys/class/tty/tty43/dev b/test/sys/class/tty/tty43/dev
deleted file mode 100644
index 4b6c086540..0000000000
--- a/test/sys/class/tty/tty43/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:43
diff --git a/test/sys/class/tty/tty43/subsystem b/test/sys/class/tty/tty43/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty43/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty44 b/test/sys/class/tty/tty44
new file mode 120000
index 0000000000..9b9077d9f0
--- /dev/null
+++ b/test/sys/class/tty/tty44
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty44 \ No newline at end of file
diff --git a/test/sys/class/tty/tty44/dev b/test/sys/class/tty/tty44/dev
deleted file mode 100644
index 9c2357463f..0000000000
--- a/test/sys/class/tty/tty44/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:44
diff --git a/test/sys/class/tty/tty44/subsystem b/test/sys/class/tty/tty44/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty44/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty45 b/test/sys/class/tty/tty45
new file mode 120000
index 0000000000..794cf19308
--- /dev/null
+++ b/test/sys/class/tty/tty45
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty45 \ No newline at end of file
diff --git a/test/sys/class/tty/tty45/dev b/test/sys/class/tty/tty45/dev
deleted file mode 100644
index 23437be177..0000000000
--- a/test/sys/class/tty/tty45/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:45
diff --git a/test/sys/class/tty/tty45/subsystem b/test/sys/class/tty/tty45/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty45/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty46 b/test/sys/class/tty/tty46
new file mode 120000
index 0000000000..200c809887
--- /dev/null
+++ b/test/sys/class/tty/tty46
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty46 \ No newline at end of file
diff --git a/test/sys/class/tty/tty46/dev b/test/sys/class/tty/tty46/dev
deleted file mode 100644
index 816feaf47d..0000000000
--- a/test/sys/class/tty/tty46/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:46
diff --git a/test/sys/class/tty/tty46/subsystem b/test/sys/class/tty/tty46/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty46/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty47 b/test/sys/class/tty/tty47
new file mode 120000
index 0000000000..9c3d9156d9
--- /dev/null
+++ b/test/sys/class/tty/tty47
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty47 \ No newline at end of file
diff --git a/test/sys/class/tty/tty47/dev b/test/sys/class/tty/tty47/dev
deleted file mode 100644
index d2534e707d..0000000000
--- a/test/sys/class/tty/tty47/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:47
diff --git a/test/sys/class/tty/tty47/subsystem b/test/sys/class/tty/tty47/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty47/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty48 b/test/sys/class/tty/tty48
new file mode 120000
index 0000000000..9b9a4cda68
--- /dev/null
+++ b/test/sys/class/tty/tty48
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty48 \ No newline at end of file
diff --git a/test/sys/class/tty/tty48/dev b/test/sys/class/tty/tty48/dev
deleted file mode 100644
index 4003c709df..0000000000
--- a/test/sys/class/tty/tty48/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:48
diff --git a/test/sys/class/tty/tty48/subsystem b/test/sys/class/tty/tty48/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty48/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty49 b/test/sys/class/tty/tty49
new file mode 120000
index 0000000000..304113d078
--- /dev/null
+++ b/test/sys/class/tty/tty49
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty49 \ No newline at end of file
diff --git a/test/sys/class/tty/tty49/dev b/test/sys/class/tty/tty49/dev
deleted file mode 100644
index 64dc806057..0000000000
--- a/test/sys/class/tty/tty49/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:49
diff --git a/test/sys/class/tty/tty49/subsystem b/test/sys/class/tty/tty49/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty49/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty5 b/test/sys/class/tty/tty5
new file mode 120000
index 0000000000..88eaad31a4
--- /dev/null
+++ b/test/sys/class/tty/tty5
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty5 \ No newline at end of file
diff --git a/test/sys/class/tty/tty5/dev b/test/sys/class/tty/tty5/dev
deleted file mode 100644
index 1553222302..0000000000
--- a/test/sys/class/tty/tty5/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:5
diff --git a/test/sys/class/tty/tty5/subsystem b/test/sys/class/tty/tty5/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty5/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty50 b/test/sys/class/tty/tty50
new file mode 120000
index 0000000000..980e47e84d
--- /dev/null
+++ b/test/sys/class/tty/tty50
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty50 \ No newline at end of file
diff --git a/test/sys/class/tty/tty50/dev b/test/sys/class/tty/tty50/dev
deleted file mode 100644
index 71e681bc39..0000000000
--- a/test/sys/class/tty/tty50/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:50
diff --git a/test/sys/class/tty/tty50/subsystem b/test/sys/class/tty/tty50/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty50/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty51 b/test/sys/class/tty/tty51
new file mode 120000
index 0000000000..996785ba60
--- /dev/null
+++ b/test/sys/class/tty/tty51
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty51 \ No newline at end of file
diff --git a/test/sys/class/tty/tty51/dev b/test/sys/class/tty/tty51/dev
deleted file mode 100644
index 1f8c4b6976..0000000000
--- a/test/sys/class/tty/tty51/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:51
diff --git a/test/sys/class/tty/tty51/subsystem b/test/sys/class/tty/tty51/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty51/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty52 b/test/sys/class/tty/tty52
new file mode 120000
index 0000000000..da16c4fa0f
--- /dev/null
+++ b/test/sys/class/tty/tty52
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty52 \ No newline at end of file
diff --git a/test/sys/class/tty/tty52/dev b/test/sys/class/tty/tty52/dev
deleted file mode 100644
index 344e8c93f9..0000000000
--- a/test/sys/class/tty/tty52/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:52
diff --git a/test/sys/class/tty/tty52/subsystem b/test/sys/class/tty/tty52/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty52/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty53 b/test/sys/class/tty/tty53
new file mode 120000
index 0000000000..2f9b5fc00d
--- /dev/null
+++ b/test/sys/class/tty/tty53
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty53 \ No newline at end of file
diff --git a/test/sys/class/tty/tty53/dev b/test/sys/class/tty/tty53/dev
deleted file mode 100644
index c4b80fb134..0000000000
--- a/test/sys/class/tty/tty53/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:53
diff --git a/test/sys/class/tty/tty53/subsystem b/test/sys/class/tty/tty53/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty53/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty54 b/test/sys/class/tty/tty54
new file mode 120000
index 0000000000..066ee67726
--- /dev/null
+++ b/test/sys/class/tty/tty54
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty54 \ No newline at end of file
diff --git a/test/sys/class/tty/tty54/dev b/test/sys/class/tty/tty54/dev
deleted file mode 100644
index ba56c5e44c..0000000000
--- a/test/sys/class/tty/tty54/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:54
diff --git a/test/sys/class/tty/tty54/subsystem b/test/sys/class/tty/tty54/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty54/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty55 b/test/sys/class/tty/tty55
new file mode 120000
index 0000000000..36b5ab23ea
--- /dev/null
+++ b/test/sys/class/tty/tty55
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty55 \ No newline at end of file
diff --git a/test/sys/class/tty/tty55/dev b/test/sys/class/tty/tty55/dev
deleted file mode 100644
index 540bf11253..0000000000
--- a/test/sys/class/tty/tty55/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:55
diff --git a/test/sys/class/tty/tty55/subsystem b/test/sys/class/tty/tty55/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty55/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty56 b/test/sys/class/tty/tty56
new file mode 120000
index 0000000000..9d59eb5509
--- /dev/null
+++ b/test/sys/class/tty/tty56
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty56 \ No newline at end of file
diff --git a/test/sys/class/tty/tty56/dev b/test/sys/class/tty/tty56/dev
deleted file mode 100644
index ee03fba97d..0000000000
--- a/test/sys/class/tty/tty56/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:56
diff --git a/test/sys/class/tty/tty56/subsystem b/test/sys/class/tty/tty56/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty56/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty57 b/test/sys/class/tty/tty57
new file mode 120000
index 0000000000..faad99a937
--- /dev/null
+++ b/test/sys/class/tty/tty57
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty57 \ No newline at end of file
diff --git a/test/sys/class/tty/tty57/dev b/test/sys/class/tty/tty57/dev
deleted file mode 100644
index 664d8ec646..0000000000
--- a/test/sys/class/tty/tty57/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:57
diff --git a/test/sys/class/tty/tty57/subsystem b/test/sys/class/tty/tty57/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty57/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty58 b/test/sys/class/tty/tty58
new file mode 120000
index 0000000000..c8600121f7
--- /dev/null
+++ b/test/sys/class/tty/tty58
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty58 \ No newline at end of file
diff --git a/test/sys/class/tty/tty58/dev b/test/sys/class/tty/tty58/dev
deleted file mode 100644
index ffc6c0b62c..0000000000
--- a/test/sys/class/tty/tty58/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:58
diff --git a/test/sys/class/tty/tty58/subsystem b/test/sys/class/tty/tty58/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty58/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty59 b/test/sys/class/tty/tty59
new file mode 120000
index 0000000000..703f555529
--- /dev/null
+++ b/test/sys/class/tty/tty59
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty59 \ No newline at end of file
diff --git a/test/sys/class/tty/tty59/dev b/test/sys/class/tty/tty59/dev
deleted file mode 100644
index c48309e7f0..0000000000
--- a/test/sys/class/tty/tty59/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:59
diff --git a/test/sys/class/tty/tty59/subsystem b/test/sys/class/tty/tty59/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty59/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty6 b/test/sys/class/tty/tty6
new file mode 120000
index 0000000000..efc1d693e2
--- /dev/null
+++ b/test/sys/class/tty/tty6
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty6 \ No newline at end of file
diff --git a/test/sys/class/tty/tty6/dev b/test/sys/class/tty/tty6/dev
deleted file mode 100644
index cd94e0d09d..0000000000
--- a/test/sys/class/tty/tty6/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:6
diff --git a/test/sys/class/tty/tty6/subsystem b/test/sys/class/tty/tty6/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty6/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty60 b/test/sys/class/tty/tty60
new file mode 120000
index 0000000000..3f7263f9ff
--- /dev/null
+++ b/test/sys/class/tty/tty60
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty60 \ No newline at end of file
diff --git a/test/sys/class/tty/tty60/dev b/test/sys/class/tty/tty60/dev
deleted file mode 100644
index 37d25eab02..0000000000
--- a/test/sys/class/tty/tty60/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:60
diff --git a/test/sys/class/tty/tty60/subsystem b/test/sys/class/tty/tty60/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty60/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty61 b/test/sys/class/tty/tty61
new file mode 120000
index 0000000000..cee51b9cdb
--- /dev/null
+++ b/test/sys/class/tty/tty61
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty61 \ No newline at end of file
diff --git a/test/sys/class/tty/tty61/dev b/test/sys/class/tty/tty61/dev
deleted file mode 100644
index 599df60bfd..0000000000
--- a/test/sys/class/tty/tty61/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:61
diff --git a/test/sys/class/tty/tty61/subsystem b/test/sys/class/tty/tty61/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty61/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty62 b/test/sys/class/tty/tty62
new file mode 120000
index 0000000000..c951635197
--- /dev/null
+++ b/test/sys/class/tty/tty62
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty62 \ No newline at end of file
diff --git a/test/sys/class/tty/tty62/dev b/test/sys/class/tty/tty62/dev
deleted file mode 100644
index 49fc9a0af5..0000000000
--- a/test/sys/class/tty/tty62/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:62
diff --git a/test/sys/class/tty/tty62/subsystem b/test/sys/class/tty/tty62/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty62/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty63 b/test/sys/class/tty/tty63
new file mode 120000
index 0000000000..055770a378
--- /dev/null
+++ b/test/sys/class/tty/tty63
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty63 \ No newline at end of file
diff --git a/test/sys/class/tty/tty63/dev b/test/sys/class/tty/tty63/dev
deleted file mode 100644
index d11e9d2a82..0000000000
--- a/test/sys/class/tty/tty63/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:63
diff --git a/test/sys/class/tty/tty63/subsystem b/test/sys/class/tty/tty63/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty63/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty7 b/test/sys/class/tty/tty7
new file mode 120000
index 0000000000..0e04f76811
--- /dev/null
+++ b/test/sys/class/tty/tty7
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty7 \ No newline at end of file
diff --git a/test/sys/class/tty/tty7/dev b/test/sys/class/tty/tty7/dev
deleted file mode 100644
index 9410476660..0000000000
--- a/test/sys/class/tty/tty7/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:7
diff --git a/test/sys/class/tty/tty7/subsystem b/test/sys/class/tty/tty7/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty7/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty8 b/test/sys/class/tty/tty8
new file mode 120000
index 0000000000..1289573e26
--- /dev/null
+++ b/test/sys/class/tty/tty8
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty8 \ No newline at end of file
diff --git a/test/sys/class/tty/tty8/dev b/test/sys/class/tty/tty8/dev
deleted file mode 100644
index a79f74ba39..0000000000
--- a/test/sys/class/tty/tty8/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:8
diff --git a/test/sys/class/tty/tty8/subsystem b/test/sys/class/tty/tty8/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty8/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/tty9 b/test/sys/class/tty/tty9
new file mode 120000
index 0000000000..e4a707b9f4
--- /dev/null
+++ b/test/sys/class/tty/tty9
@@ -0,0 +1 @@
+../../devices/virtual/tty/tty9 \ No newline at end of file
diff --git a/test/sys/class/tty/tty9/dev b/test/sys/class/tty/tty9/dev
deleted file mode 100644
index 62ada4bbe9..0000000000
--- a/test/sys/class/tty/tty9/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:9
diff --git a/test/sys/class/tty/tty9/subsystem b/test/sys/class/tty/tty9/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/tty9/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/ttyACM0 b/test/sys/class/tty/ttyACM0
new file mode 120000
index 0000000000..40df13c0cf
--- /dev/null
+++ b/test/sys/class/tty/ttyACM0
@@ -0,0 +1 @@
+../../devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/tty/ttyACM0 \ No newline at end of file
diff --git a/test/sys/class/tty/ttyS0 b/test/sys/class/tty/ttyS0
new file mode 120000
index 0000000000..860756e70e
--- /dev/null
+++ b/test/sys/class/tty/ttyS0
@@ -0,0 +1 @@
+../../devices/platform/serial8250/tty/ttyS0 \ No newline at end of file
diff --git a/test/sys/class/tty/ttyS0/dev b/test/sys/class/tty/ttyS0/dev
deleted file mode 100644
index 9f6b667886..0000000000
--- a/test/sys/class/tty/ttyS0/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:64
diff --git a/test/sys/class/tty/ttyS0/subsystem b/test/sys/class/tty/ttyS0/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/ttyS0/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/ttyS1 b/test/sys/class/tty/ttyS1
new file mode 120000
index 0000000000..a4e521e3ba
--- /dev/null
+++ b/test/sys/class/tty/ttyS1
@@ -0,0 +1 @@
+../../devices/platform/serial8250/tty/ttyS1 \ No newline at end of file
diff --git a/test/sys/class/tty/ttyS1/dev b/test/sys/class/tty/ttyS1/dev
deleted file mode 100644
index db3f8ecdcd..0000000000
--- a/test/sys/class/tty/ttyS1/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:65
diff --git a/test/sys/class/tty/ttyS1/subsystem b/test/sys/class/tty/ttyS1/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/ttyS1/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/ttyS2 b/test/sys/class/tty/ttyS2
new file mode 120000
index 0000000000..a0170b5335
--- /dev/null
+++ b/test/sys/class/tty/ttyS2
@@ -0,0 +1 @@
+../../devices/platform/serial8250/tty/ttyS2 \ No newline at end of file
diff --git a/test/sys/class/tty/ttyS2/dev b/test/sys/class/tty/ttyS2/dev
deleted file mode 100644
index cef5d02fd9..0000000000
--- a/test/sys/class/tty/ttyS2/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:66
diff --git a/test/sys/class/tty/ttyS2/subsystem b/test/sys/class/tty/ttyS2/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/ttyS2/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/ttyS3 b/test/sys/class/tty/ttyS3
new file mode 120000
index 0000000000..15ae8b290e
--- /dev/null
+++ b/test/sys/class/tty/ttyS3
@@ -0,0 +1 @@
+../../devices/platform/serial8250/tty/ttyS3 \ No newline at end of file
diff --git a/test/sys/class/tty/ttyS3/dev b/test/sys/class/tty/ttyS3/dev
deleted file mode 100644
index 3077006e7a..0000000000
--- a/test/sys/class/tty/ttyS3/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:67
diff --git a/test/sys/class/tty/ttyS3/subsystem b/test/sys/class/tty/ttyS3/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/ttyS3/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/ttyS4/dev b/test/sys/class/tty/ttyS4/dev
deleted file mode 100644
index 26cd2d8c86..0000000000
--- a/test/sys/class/tty/ttyS4/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:68
diff --git a/test/sys/class/tty/ttyS4/subsystem b/test/sys/class/tty/ttyS4/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/ttyS4/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/ttyS5/dev b/test/sys/class/tty/ttyS5/dev
deleted file mode 100644
index 189b73bb6e..0000000000
--- a/test/sys/class/tty/ttyS5/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:69
diff --git a/test/sys/class/tty/ttyS5/subsystem b/test/sys/class/tty/ttyS5/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/ttyS5/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/ttyS6/dev b/test/sys/class/tty/ttyS6/dev
deleted file mode 100644
index f40a113a2a..0000000000
--- a/test/sys/class/tty/ttyS6/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:70
diff --git a/test/sys/class/tty/ttyS6/subsystem b/test/sys/class/tty/ttyS6/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/ttyS6/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/ttyS7/dev b/test/sys/class/tty/ttyS7/dev
deleted file mode 100644
index ec1b8ff559..0000000000
--- a/test/sys/class/tty/ttyS7/dev
+++ /dev/null
@@ -1 +0,0 @@
-4:71
diff --git a/test/sys/class/tty/ttyS7/subsystem b/test/sys/class/tty/ttyS7/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/ttyS7/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file
diff --git a/test/sys/class/tty/ttyUSB0/dev b/test/sys/class/tty/ttyUSB0/dev
deleted file mode 100644
index 5c0bba8170..0000000000
--- a/test/sys/class/tty/ttyUSB0/dev
+++ /dev/null
@@ -1 +0,0 @@
-188:0
diff --git a/test/sys/class/tty/ttyUSB0/device b/test/sys/class/tty/ttyUSB0/device
deleted file mode 120000
index b7733a68e0..0000000000
--- a/test/sys/class/tty/ttyUSB0/device
+++ /dev/null
@@ -1 +0,0 @@
-../../../devices/pci0000:00/0000:00:09.0/usb3/3-1/ttyUSB0 \ No newline at end of file
diff --git a/test/sys/class/tty/ttyUSB0/subsystem b/test/sys/class/tty/ttyUSB0/subsystem
deleted file mode 120000
index 31a1be456d..0000000000
--- a/test/sys/class/tty/ttyUSB0/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../tty \ No newline at end of file