summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/test_configfs.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/test_configfs.sh b/scripts/test_configfs.sh
new file mode 100755
index 0000000..1ae0fe5
--- /dev/null
+++ b/scripts/test_configfs.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+mkdir -p /config && mount -t configfs none /config
+
+mkdir /config/avirt/streams/playback_media
+echo "2">/config/avirt/streams/playback_media/channels
+
+mkdir /config/avirt/streams/playback_navigation
+echo "1">/config/avirt/streams/playback_navigation/channels
+
+mkdir /config/avirt/streams/playback_emergency
+echo "1">/config/avirt/streams/playback_emergency/channels
+
+mkdir /config/avirt/streams/capture_voice
+echo "1">/config/avirt/streams/capture_voice/channels
+
+echo "1">/config/avirt/streams/sealed