go.sh looks like

#!/bin/sh
[ "$(id -u)" = "0" ] || { echo "not root" 1>&2; exit 1; }
i=0
while true; do
   logger --tag=xtest-mic-$i "start xtest-mic-$i"
   echo -n .
   {
   read up idle </proc/uptime
   echo $up
   ./test/test-mic
   r=$?
   read up idle </proc/uptime
   echo $up
   echo $r
   } >out.log 2>&1
   logger --tag=xtest-mic-$i "end xtest-mic-$i $r"
   [ $r -eq 0 ] || { echo; echo "failed xtest-mic-$i"; exit 1; }
   i=$(($i+1))
done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741096

Title:
  test-mic can fail / writes to qemu-nbd device do not persist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1741096/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to