From: E. Scott Daniels Date: Tue, 14 May 2019 20:07:36 +0000 (+0000) Subject: test(unit): Fix warning in unit test script X-Git-Tag: 1.0.31~16 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=7958ddfd7e5bc9278bcba939b55b5b90e83529c2;p=ric-plt%2Flib%2Frmr.git test(unit): Fix warning in unit test script Eliminated error/warning message if attempt to delete .gcov files fails when there are none to delete. Change-Id: Ib552c3e73161ca5572d220f03498aba878a3bfc8 Signed-off-by: E. Scott Daniels --- diff --git a/test/unit_test.ksh b/test/unit_test.ksh index 929976c..9953733 100755 --- a/test/unit_test.ksh +++ b/test/unit_test.ksh @@ -353,7 +353,7 @@ do -x) gen_xml=1 force_discounting=1 trigger_discount_str="WARN|FAIL|PASS" # check all outcomes for each module - rm *cov.xml + rm -fr *cov.xml ;; -h) usage; exit 0;; @@ -397,7 +397,7 @@ else fi -rm *.gcov # ditch the previous coverage files +rm -fr *.gcov # ditch the previous coverage files ut_errors=0 # unit test errors (not coverage errors) errors=0