From 246a2eae5dce72fe88c4b7af7092f00b2f55b4f8 Mon Sep 17 00:00:00 2001 From: Alexander Stefanov Date: Fri, 12 Apr 2019 01:04:18 +0300 Subject: [PATCH] add test_code --- build-rpm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-rpm.sh b/build-rpm.sh index c7c6c17..c2f763c 100755 --- a/build-rpm.sh +++ b/build-rpm.sh @@ -227,6 +227,7 @@ test_rpm() { cat $test_log.tmp >> $test_log echo '--> Checking if same or newer version of the package already exists in repositories' >> $test_log 2>&1 python /mdv/check_newer_versions.py $chroot_path >> $test_log 2>&1 + test_code=$? echo "--> Tests finished at `date -u`" >> $test_log echo 'Test code output: ' $test_code >> $test_log 2>&1 rm -f $test_log.tmp