ci: update to check actual fstat
author백종민/Tizen Platform Lab(SR)/삼성전자 <jm0829.baek@samsung.com>
Mon, 17 Jul 2023 04:51:07 +0000 (13:51 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 17 Jul 2023 04:51:07 +0000 (13:51 +0900)
.github/workflows/p4-lock-checker.yml

index 82050b3..e596900 100644 (file)
@@ -36,4 +36,7 @@ jobs:
 
       - name: check P4 ESPP DEV status
         run: |
-          p4 fstat "//TIZEN/[MAIN]/[ONEPROD_Prj]/[FET]/[COSMOS]/PLATFORM/PPI/capi-trackrenderer-tv/AUTHORS"
+          p4 fstat //TIZEN/[MAIN]/[ONEPROD_Prj]/[DEV]/[MULTIMEDIA]/[Mmplayer_SRCN]/Mmplayer/esplusplayer/packaging/esplusplayer.spec > fstat_result
+          export FSTAT_COUNT=$(grep otherLock fstat_result | wc -l)
+          echo $FSTAT_COUNT
+          if [ $FSTAT_COUNT == 0 ]; then echo unlocked; else exit 1; fi