diff options
Diffstat (limited to 'test/TEST-10-ISSUE-2467/test.sh')
-rwxr-xr-x | test/TEST-10-ISSUE-2467/test.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/TEST-10-ISSUE-2467/test.sh b/test/TEST-10-ISSUE-2467/test.sh index e61f5acd3c..0e61236686 100755 --- a/test/TEST-10-ISSUE-2467/test.sh +++ b/test/TEST-10-ISSUE-2467/test.sh @@ -17,7 +17,7 @@ test_setup() { eval $(udevadm info --export --query=env --name=${LOOPDEV}p2) setup_basic_environment - dracut_install true rm + dracut_install true rm socat # setup the testsuite service cat >$initdir/etc/systemd/system/testsuite.service <<'EOF' @@ -29,13 +29,13 @@ After=multi-user.target Type=oneshot StandardOutput=tty StandardError=tty -ExecStart=/bin/sh -e -x -c 'rm -f /tmp/nonexistent; systemctl start test.socket; echo > /run/test.ctl; >/testok' +ExecStart=/bin/sh -e -x -c 'rm -f /tmp/nonexistent; systemctl start test.socket; printf x > test.file; socat -t20 OPEN:test.file UNIX-CONNECT:/run/test.ctl; >/testok' TimeoutStartSec=10s EOF cat >$initdir/etc/systemd/system/test.socket <<'EOF' [Socket] -ListenFIFO=/run/test.ctl +ListenStream=/run/test.ctl EOF cat > $initdir/etc/systemd/system/test.service <<'EOF' |