test: Slightly improve names of test directories

Signed-off-by: Magnus Malm <magnusmalm@gmail.com>
This commit is contained in:
Magnus Malm committed 2021-02-24 14:54:45 +01:00
1 parent e77f3f4d74
commit 76b2a846a2
11 files changed
+17 -17

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
#!/bin/sh
set -eu
mount -n -t tmpfs none /dev
# mount -t devtmpfs none /dev
# mknod -m 622 /dev/console c 5 1
# mknod -m 666 /dev/null c 1 3
# mknod -m 666 /dev/zero c 1 5
# mknod -m 666 /dev/ptmx c 5 2
# mknod -m 666 /dev/tty c 5 0
# mknod -m 444 /dev/random c 1 8
# mknod -m 444 /dev/urandom c 1 9
# chown root:tty /dev/{console,ptmx,tty}
mount -t proc none /proc
mount -t sysfs none /sys
# mount -t tmpfs none /tmp
# mount -t tmpfs none /etc
# mkdir -p /dev/pts
# mount -t devpts none /dev/pts
mkdir -p "$FINIT_CONF_DIR"
tty=/dev/$(cat /sys/class/tty/console/active)
mkfifo "$tty"
exec "$@"