Debian Automated Code Analysis

checkbashisms analysis of voms_1.9.19.2-1.dsc

possible bashism in ./test/setup_env.sh line 3 ('function' is useless):
function do_configure()
possible bashism in ./test/setup_env.sh line 12 ('function' is useless):
function command()
possible bashism in ./test/setup_env.sh line 17 ('function' is useless):
function apushd()
possible bashism in ./test/setup_env.sh line 19 ((push|pop)d):
    pushd $@ >/dev/null 2>&1
possible bashism in ./test/setup_env.sh line 22 ('function' is useless):
function apopd()
possible bashism in ./test/setup_env.sh line 24 ((push|pop)d):
    popd >/dev/null 2>&1
possible bashism in ./test/setup_env.sh line 27 ('function' is useless):
function find_component()
possible bashism in ./test/setup_env.sh line 54 ('function' is useless):
function compile()
possible bashism in ./test/setup_env.sh line 87 ('function' is useless):
function ca_make_config()
possible bashism in ./test/setup_env.sh line 227 ('function' is useless):
function ca_config_setup()
possible bashism in ./test/setup_env.sh line 237 ('function' is useless):
function ca_interpret_subj()
possible bashism in ./test/setup_env.sh line 246 ('function' is useless):
function cacert_create()
possible bashism in ./test/setup_env.sh line 254 (echo -e):
    echo -e "\n\n\n\n\n\n" | openssl req -config $1/ca/openssl.cnf -new -x509 -nodes -days $3 -keyout cacert.pem -out cacert.pem &&
possible bashism in ./test/setup_env.sh line 268 ('function' is useless):
function hostcert_create()
possible bashism in ./test/setup_env.sh line 274 (echo -e):
    echo -e "\n\n\n\n\n\n" | openssl req -config $1/ca/openssl.cnf -new -nodes -out req.pem -keyout $1/etc/grid-security/hostkey.pem &&
possible bashism in ./test/setup_env.sh line 275 (echo -e):
    echo -e "y\ny\n" | openssl ca -config $1/ca/openssl.cnf -policy policy_anything -days $3 -out $1/etc/grid-security/hostcert.pem -in req.pem &&
possible bashism in ./test/setup_env.sh line 284 ('function' is useless):
function usercert_create()
possible bashism in ./test/setup_env.sh line 289 (echo -e):
    echo -e "\n\n\n\n\n\n" | openssl req -config $1/ca/openssl.cnf -new -nodes -keyout req.pem -out req.pem &&
possible bashism in ./test/setup_env.sh line 290 (echo -e):
    echo -e "y\ny\n" | openssl ca -config $1/ca/openssl.cnf -policy policy_anything -days $3 -out $1/usercert.pem -in req.pem &&
possible bashism in ./test/setup_env.sh line 302 ('function' is useless):
function cert_setup()
possible bashism in ./test/setup_env.sh line 353 ('function' is useless):
function security_setup()
possible bashism in ./test/setup_env.sh line 393 ('function' is useless):
function report_progress()
possible bashism in ./test/setup_env.sh line 406 ('function' is useless):
function do_tests()
possible bashism in ./test/setup_env.sh line 420 (should be '.', not 'source'):
            source $i
possible bashism in ./test/setup_env.sh line 459 ('function' is useless):
function do_test_func()
possible bashism in ./test/setup_env.sh line 485 ('function' is useless):
function voms_add_ca()
possible bashism in ./test/setup_env.sh line 505 ('select' is not POSIX):
    value=`echo "select gid from groups where groups.dn="$groupname"|mysql -u$DBROOT -p$DBPWD -D$dbname|tail -1`
possible bashism in ./test/setup_env.sh line 509 ('function' is useless):
function voms_add_role()
possible bashism in ./test/setup_env.sh line 531 ('select' is not POSIX):
    value=`echo "select rid from roles where roles.dn="$rolename"|mysql -u$DBROOT -p$DBPWD -D$dbname|tail -1`
possible bashism in ./test/setup_env.sh line 535 ('function' is useless):
function voms_setup()
possible bashism in ./test/setup_env.sh line 591 ('function' is useless):
function start()
possible bashism in ./test/tests/servicecert.sh line 3 ('function' is useless):
function test_setup()
possible bashism in ./test/tests/servicecert.sh line 58 ('function' is useless):
function test_run()
possible bashism in ./test/tests/servicecert.sh line 76 ('function' is useless):
function test_clean()
possible bashism in ./test/tests/spurious.sh line 3 ('function' is useless):
function test_setup()
possible bashism in ./test/tests/spurious.sh line 58 ('function' is useless):
function test_run()
possible bashism in ./test/tests/spurious.sh line 91 ('function' is useless):
function test_clean()
possible bashism in ./test/tests/voms_install_db_test2.sh line 3 ('function' is useless):
function test_setup()
possible bashism in ./test/tests/voms_install_db_test2.sh line 26 ('function' is useless):
function test_run()
possible bashism in ./test/tests/voms_install_db_test2.sh line 31 ('function' is useless):
function test_clean()
possible bashism in ./test/tests/masstest.sh line 3 ('function' is useless):
function test_setup()
possible bashism in ./test/tests/masstest.sh line 63 ('function' is useless):
function test_run()
possible bashism in ./test/tests/masstest.sh line 114 (let ...):
    let i=0
possible bashism in ./test/tests/masstest.sh line 116 (let ...):
        let j=$((n))
possible bashism in ./test/tests/masstest.sh line 119 (let ...):
            let j=$j-1
possible bashism in ./test/tests/masstest.sh line 121 (let ...):
        let i=$i+1
possible bashism in ./test/tests/masstest.sh line 147 ('function' is useless):
function test_clean()
possible bashism in ./test/tests/simpleac.sh line 3 ('function' is useless):
function test_setup()
possible bashism in ./test/tests/simpleac.sh line 58 ('function' is useless):
function test_run()
possible bashism in ./test/tests/simpleac.sh line 75 ('function' is useless):
function test_clean()
possible bashism in ./test/tests/voms_install_db_test1.sh line 3 ('function' is useless):
function test_setup()
possible bashism in ./test/tests/voms_install_db_test1.sh line 24 ('function' is useless):
function test_run()
possible bashism in ./test/tests/voms_install_db_test1.sh line 29 ('function' is useless):
function test_clean()
possible bashism in ./configure line 16227 (should be 'b = a'):
    if test "x$with_64bit" == "xno" ; then
possible bashism in ./configure line 16290 (should be 'b = a'):
        if test "x$flavor" == "x$with_globus_flavor" ; then
possible bashism in ./configure line 16301 (should be 'b = a'):
      if test "x$with_64bit" == "xyes" ; then
possible bashism in ./configure line 21696 (should be 'b = a'):
  if test "x$with_valgrind" == "x" ; then
possible bashism in ./configure line 21700 (should be 'b = a'):
  if test "x$with_valgrind" == "xno" ; then
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 4 ('function' is useless):
function usage()
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 9 (echo -e):
    echo -ne "\t--mysql-home <mysql-home>     location of mysql (\$MYSQL_HOME)\n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 10 (echo -e):
    echo -ne "\t--oracle-home <oracle-home>   location of oracle (\$ORACLE_HOME)\n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 11 (echo -e):
    echo -ne "\t--db <db>                     name of vosm MySQL db\n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 12 (echo -e):
    echo -ne "\t--mysql-admin <mysql-admin>   MySQL admin account\n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 13 (echo -e):
    echo -ne "\t--mysql-pwd <mysql-pwd>       password of MySQL account\n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 14 (echo -e):
    echo -ne "\t--oracle-admin <oracle-admin> Oracle account\n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 15 (echo -e):
    echo -ne "\t--oracle-pwd <oracle-pwd>     password of Oracle account\n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 16 (echo -e):
    echo -ne "\t--oracle-db <db>              name of Oracle db\n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 17 (echo -e):
    echo -ne "\t--out <filename>              output file where to put the dump (prevent from querying the oracle db)\n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 76 (echo -e):
    echo -e "\nERROR : database not selected. Use --db option.\n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 81 (echo -e):
    echo -e "\nERROR : MySQL admin not selected. Use --mysql-admin option.\n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 88 (echo -e):
    echo -e "\nERROR : \$@LOCATION_ENV@ not set, supposing @LOCATION_DIR@. \n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 94 (echo -e):
    echo -e "\nERROR : \$TNS_ADMIN not set. \n"
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/mysql2oracle.in line 122 (should be >word 2>&1):
$MYSQLDUMP $voms_database | sed '/--/d' | sed '/\/\*/d' | sed -e s/"IF EXISTS "/""/g | sed '/LOCK TABLES/d' | sed '/UNLOCK TABLES/d' | tr -s '\n' &> $DUMPFILE
possible bashism in ./.pc/voms-shell-syntax.patch/src/install/voms-ping line 28 ('function' is useless):
function test_vo {

This report was generated on Fri, 17 Dec 2010 12:38:30 +0000, based on results by checkbashisms 2.10.65git5