X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FSuite-interfaces.sh;h=7a2164613d45d777d28fe8fdaa7c4f0bb76ca442;hb=045a1503113be9e0ff6e0747c94d23e06ddb263f;hp=d57133d1c152faa90b1a225868e1cde65504db6f;hpb=70e878f1b5a558baaaa5ab5885a039ed96c9f8d5;p=nonrtric.git diff --git a/test/auto-test/Suite-interfaces.sh b/test/auto-test/Suite-interfaces.sh index d57133d1..7a216461 100755 --- a/test/auto-test/Suite-interfaces.sh +++ b/test/auto-test/Suite-interfaces.sh @@ -1,5 +1,22 @@ #!/bin/bash +# ============LICENSE_START=============================================== +# Copyright (C) 2020 Nordix Foundation. All rights reserved. +# ======================================================================== +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END================================================= +# + TS_ONELINE_DESCR="Test suite - interface testing. Agent REST, DMAAP and SNDC controller resconf" . ../common/testsuite_common.sh @@ -8,9 +25,17 @@ suite_setup ############# TEST CASES ################# -./FTC100.sh $1 -./FTC110.sh $1 -./FTC150.sh $1 +ARG1=$1 + +./FTC100.sh $ARG1 + +if [ $ARG1 == "remote-remove" ]; then + #Prevent image removal for every test case + ARG1="remote" +fi + +./FTC110.sh $ARG1 +./FTC150.sh $ARG1 ##########################################