X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=near-rt-ric-simulator%2Ftest%2FOSC_2.1.0%2Fbasic_test.sh;h=9fd23528964fcfac091f1be1505bb34f1ae9ee8c;hb=refs%2Ftags%2FBronzeRC0;hp=f77e3476a38c9b997a8cd06193ccf2beeb6e4f83;hpb=9ab67f5d44b9e5bfcafddd6ea5e0ae10f68ca110;p=sim%2Fa1-interface.git diff --git a/near-rt-ric-simulator/test/OSC_2.1.0/basic_test.sh b/near-rt-ric-simulator/test/OSC_2.1.0/basic_test.sh index f77e347..9fd2352 100755 --- a/near-rt-ric-simulator/test/OSC_2.1.0/basic_test.sh +++ b/near-rt-ric-simulator/test/OSC_2.1.0/basic_test.sh @@ -95,7 +95,7 @@ RESULT="" do_curl PUT /a1-p/policytypes/1 201 jsonfiles/pt1.json echo "=== API: Get policy type ids, shall contain type 1 ==" -RESULT="json:[ \"1\" ]" +RESULT="json:[ 1 ]" do_curl GET /a1-p/policytypes 200 echo "=== API: Get instances for type 1, shall be empty ===" @@ -143,7 +143,7 @@ RESULT="Policy type 2 is OK." do_curl PUT '/policytype?id=2' 200 jsonfiles/pt1.json echo "=== API: Get policy type ids, shall contain type 1 and 2 ==" -RESULT="json:[ \"1\", \"2\" ]" +RESULT="json:[ 1, 2 ]" do_curl GET /a1-p/policytypes 200 echo "=== Get policy type ids, shall contain type 1 and 2 ==" @@ -159,7 +159,7 @@ RESULT="" do_curl DELETE '/policytype?id=2' 204 jsonfiles/pt1.json echo "=== API: Get policy type ids, shall contain type 1 ==" -RESULT="json:[ \"1\" ]" +RESULT="json:[ 1 ]" do_curl GET /a1-p/policytypes 200 echo "=== Load a policy type: 2 ==="