summaryrefslogtreecommitdiff
path: root/testenv/fakes
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-04-10 06:00:10 +0300
committerMaxim Devaev <[email protected]>2022-04-10 06:00:10 +0300
commit486f1be9867fcb3220a2918ddd5b0371ece17d5d (patch)
tree22f6297f9a4755631c0aee3397980a8e2dde0d22 /testenv/fakes
parent122242ea472684434989706253bb38ad48a6cbd6 (diff)
get rid of the otg-unlock helper
Diffstat (limited to 'testenv/fakes')
-rw-r--r--testenv/fakes/proc/device-tree/model (renamed from testenv/fakes/dt_model)0
-rw-r--r--testenv/fakes/sys/class/thermal/thermal_zone0/temp (renamed from testenv/fakes/cpu_temp)0
l---------testenv/fakes/sys/class/udc/fe980000.usb/device/driver1
-rw-r--r--testenv/fakes/sys/class/udc/fe980000.usb/state1
l---------testenv/fakes/sys/kernel/config/usb_gadget/kvmd/configs/c.1/mass_storage.usb01
-rw-r--r--testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/cdrom (renamed from testenv/fakes/msd/cdrom)0
-rw-r--r--testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/file (renamed from testenv/fakes/msd/file)0
l---------testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/forced_eject1
-rw-r--r--testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/ro (renamed from testenv/fakes/msd/ro)0
9 files changed, 4 insertions, 0 deletions
diff --git a/testenv/fakes/dt_model b/testenv/fakes/proc/device-tree/model
index 3afd3566..3afd3566 100644
--- a/testenv/fakes/dt_model
+++ b/testenv/fakes/proc/device-tree/model
diff --git a/testenv/fakes/cpu_temp b/testenv/fakes/sys/class/thermal/thermal_zone0/temp
index 9db0c8a7..9db0c8a7 100644
--- a/testenv/fakes/cpu_temp
+++ b/testenv/fakes/sys/class/thermal/thermal_zone0/temp
diff --git a/testenv/fakes/sys/class/udc/fe980000.usb/device/driver b/testenv/fakes/sys/class/udc/fe980000.usb/device/driver
new file mode 120000
index 00000000..cd14daa3
--- /dev/null
+++ b/testenv/fakes/sys/class/udc/fe980000.usb/device/driver
@@ -0,0 +1 @@
+../../../../bus/platform/drivers/dwc2 \ No newline at end of file
diff --git a/testenv/fakes/sys/class/udc/fe980000.usb/state b/testenv/fakes/sys/class/udc/fe980000.usb/state
new file mode 100644
index 00000000..6ad6460c
--- /dev/null
+++ b/testenv/fakes/sys/class/udc/fe980000.usb/state
@@ -0,0 +1 @@
+configured
diff --git a/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/configs/c.1/mass_storage.usb0 b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/configs/c.1/mass_storage.usb0
new file mode 120000
index 00000000..b7637404
--- /dev/null
+++ b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/configs/c.1/mass_storage.usb0
@@ -0,0 +1 @@
+../../functions/mass_storage.usb0 \ No newline at end of file
diff --git a/testenv/fakes/msd/cdrom b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/cdrom
index d00491fd..d00491fd 100644
--- a/testenv/fakes/msd/cdrom
+++ b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/cdrom
diff --git a/testenv/fakes/msd/file b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/file
index e69de29b..e69de29b 100644
--- a/testenv/fakes/msd/file
+++ b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/file
diff --git a/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/forced_eject b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/forced_eject
new file mode 120000
index 00000000..1a010b1c
--- /dev/null
+++ b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/forced_eject
@@ -0,0 +1 @@
+file \ No newline at end of file
diff --git a/testenv/fakes/msd/ro b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/ro
index d00491fd..d00491fd 100644
--- a/testenv/fakes/msd/ro
+++ b/testenv/fakes/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/ro