From 46da93e70509af2e5fb743111eb566f1646eb1c1 Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdhiser@gmail.com> Date: Mon, 18 Mar 2019 11:01:12 -0400 Subject: [PATCH] cleanup of run-pszr --- cicd_testing/docker-zipr-bin/run_pszr.sh | 28 +++--------------------- irdb-sdk | 2 +- 2 files changed, 4 insertions(+), 26 deletions(-) diff --git a/cicd_testing/docker-zipr-bin/run_pszr.sh b/cicd_testing/docker-zipr-bin/run_pszr.sh index 9d041e41d..194ca18d5 100755 --- a/cicd_testing/docker-zipr-bin/run_pszr.sh +++ b/cicd_testing/docker-zipr-bin/run_pszr.sh @@ -17,44 +17,23 @@ print_usage() echo "" } -function is_in_activation -{ - service "$1" status - activation=$(service "$1" status | grep "Active: activation" ) - if [ -z "$activation" ]; then - true; - else - false; - fi - - return $?; -} main() { local res=0 - export USER=root; - cd /opt/ps_zipr - source ./set_env_vars - cd /home/zuser + local subcommand=$1 - subcommand=$1 shift - echo "Arguments are: $@" case "$subcommand" in iagree) echo echo Welcome to the IRDB toolchain docker image! echo - echo "Setting up postgres..." - echo - service postgresql start - echo echo 'The IRDB toolchain is setup and ready to run.' echo 'You could start your first experiment with:' echo - echo 'zuser@a3fc1666aaa4:~$ pszr /bin/ls ./ls.p1 -c p1transform' + echo 'zuser@a3fc1666aaa4:~$ pszr /bin/ls ./ls.bilr' echo 'Using Zipr backend.' echo 'Detected ELF shared object.' echo 'Performing step rida [dependencies=mandatory] ...Done. Successful.' @@ -62,9 +41,8 @@ main() echo 'Performing step fill_in_cfg [dependencies=unknown] ...Done. Successful.' echo 'Performing step fill_in_indtargs [dependencies=unknown] ...Done. Successful.' echo 'Performing step fix_calls [dependencies=unknown] ...Done. Successful.' - echo 'Performing step p1transform [dependencies=unknown] ...Done. Successful.' echo 'Performing step zipr [dependencies=none] ...Done. Successful.' - echo 'zuser@a3fc1666aaa4:~$ ./ls.p1 -l ' + echo 'zuser@a3fc1666aaa4:~$ ./ls.bilr -l ' echo ' < ls output > ' echo 'zuser@a3fc1666aaa4:~$ readelf -l /bin/ls ./ls.p1 ' echo diff --git a/irdb-sdk b/irdb-sdk index db4a65454..5e547d1df 160000 --- a/irdb-sdk +++ b/irdb-sdk @@ -1 +1 @@ -Subproject commit db4a65454aca85a05426e0a015782476815facba +Subproject commit 5e547d1dfb046cf5d353c95c46bb86f06271deaf -- GitLab