mesa/.gitlab-ci/bare-metal/expect-output.sh

10 lines
99 B
Bash
Executable File

#!/bin/bash
set -e
echo "Waiting for $1 to say '$2'"
while ! grep -q "$2" $1; do
sleep 2
done