Commit 457f782e authored by Martin Pitt's avatar Martin Pitt
Browse files

logind autopkgtest: Fix stderr output in waiting loop for scsi_debug

parent af3428ce
......@@ -4,6 +4,7 @@ systemd (215-7) UNRELEASED; urgency=medium
* Add myself to Uploaders:.
* Add boot-and-services autopkgtest: Check booting with systemd-sysv and
that the most crucial services behave as expected.
* logind autopkgtest: Fix stderr output in waiting loop for scsi_debug.
[ Jon Severinsson]
* Add /run/shm -> /dev/shm symlink in debian/tmpfiles.d/debian.conf. This
......
......@@ -36,7 +36,7 @@ pkill -HUP udevd || pkill -HUP systemd-udevd
echo " * coldplug: logind started with existing device"
killall systemd-logind
modprobe scsi_debug
while ! dev=/dev/`ls /sys/bus/pseudo/drivers/scsi_debug/adapter*/host*/target*/*:*/block`; do sleep 0.1; done
while ! dev=/dev/`ls /sys/bus/pseudo/drivers/scsi_debug/adapter*/host*/target*/*:*/block 2>/dev/null`; do sleep 0.1; done
test -b $dev
echo "got block device $dev"
udevadm settle
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment