From 21e9cf7b95434c74ed7cbcead4a9e5b19e168f6e Mon Sep 17 00:00:00 2001 From: David Gibson Date: Thu, 12 May 2022 16:43:33 +1000 Subject: tests: Simplify explicit checks for command success A number of individual test cases use '*out' commands to check for success of specific commands they've issued. Now that the test harness is testing for success of all issued commands as a matter of course, we no longer need to do this. Signed-off-by: David Gibson --- test/distro/opensuse | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'test/distro/opensuse') diff --git a/test/distro/opensuse b/test/distro/opensuse index a2c0944..39f059a 100644 --- a/test/distro/opensuse +++ b/test/distro/opensuse @@ -60,8 +60,7 @@ host echo "DNSSERVERS='__DNS6__'" | netconfig modify -s dns_resolver -i eth0 host for i in $(seq 1 10); do zypper install -y gcc make netcat-openbsd && break; done; echo host make clean -hout RET CFLAGS="-Werror" make; echo $? -check [ __RET__ -eq 0 ] +host CFLAGS="-Werror" make distro_quick_pasta_test @@ -89,8 +88,7 @@ host echo "DNSSERVERS='__DNS6__'" | netconfig modify -s dns_resolver -i eth0 host for i in $(seq 1 10); do zypper install -y gcc make netcat-openbsd && break; done; echo host make clean -hout RET CFLAGS="-Werror" make; echo $? -check [ __RET__ -eq 0 ] +host CFLAGS="-Werror" make distro_quick_pasta_test @@ -117,8 +115,7 @@ host echo "DNSSERVERS='__DNS6__'" | netconfig modify -s dns_resolver -i eth0 host for i in $(seq 1 10); do zypper install -y gcc make netcat-openbsd && break; done; echo host make clean -hout RET CFLAGS="-Werror" make; echo $? -check [ __RET__ -eq 0 ] +host CFLAGS="-Werror" make distro_quick_pasta_test @@ -143,8 +140,7 @@ sleep 10 host zypper install -y gcc make netcat-openbsd; echo host make clean -hout RET CFLAGS="-Werror" make; echo $? -check [ __RET__ -eq 0 ] +host CFLAGS="-Werror" make distro_quick_pasta_test @@ -172,8 +168,7 @@ sleep 10 host zypper install -y gcc make netcat-openbsd; echo host make clean -hout RET CFLAGS="-Werror" make; echo $? -check [ __RET__ -eq 0 ] +host CFLAGS="-Werror" make distro_quick_pasta_test @@ -200,8 +195,7 @@ host echo "DNSSERVERS='__DNS6__'" | netconfig modify -s dns_resolver -i ens2 host for i in $(seq 1 10); do zypper install -y gcc make netcat-openbsd && break; done; echo host make clean -hout RET CFLAGS="-Werror" make; echo $? -check [ __RET__ -eq 0 ] +host CFLAGS="-Werror" make distro_quick_pasta_test -- cgit v1.2.3