Debian Automated Code Analysis

checkbashisms analysis of backup-manager_0.7.9-3.dsc

possible bashism in ./t/t18-tarball-encryption.sh line 6 (should be '.', not 'source'):
source testlib.sh
possible bashism in ./t/t18-tarball-encryption.sh line 13 (should be '.', not 'source'):
source confs/base.conf
possible bashism in ./t/t18-tarball-encryption.sh line 14 (should be '.', not 'source'):
source confs/tarball.conf
possible bashism in ./t/t18-tarball-encryption.sh line 22 (should be '.', not 'source'):
source $locallib/sanitize.sh
possible bashism in ./t/t18-tarball-encryption.sh line 26 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e $BM_ARCHIVE_ROOT ]]; then
possible bashism in ./t/t18-tarball-encryption.sh line 37 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e "$BM_ARCHIVE_ROOT/$BM_ARCHIVE_PREFIX$name.$TODAY.master.tar.gz.gpg" ]]; then
possible bashism in ./t/t16-whitespaces.sh line 8 (should be '.', not 'source'):
source testlib.sh
possible bashism in ./t/t16-whitespaces.sh line 15 (should be '.', not 'source'):
source confs/base.conf
possible bashism in ./t/t16-whitespaces.sh line 22 (declare):
declare -a BM_TARBALL_TARGETS
possible bashism in ./t/t16-whitespaces.sh line 23 (bash arrays, H[0]):
BM_TARBALL_TARGETS[0]="$PWD/dir*"
possible bashism in ./t/t16-whitespaces.sh line 24 (bash arrays, H[0]):
BM_TARBALL_TARGETS[1]="$PWD/Name with spaces and s"
possible bashism in ./t/t16-whitespaces.sh line 26 (should be '.', not 'source'):
source $locallib/sanitize.sh
possible bashism in ./t/t15-dupes.sh line 8 (should be '.', not 'source'):
source testlib.sh
possible bashism in ./t/t15-dupes.sh line 15 (should be '.', not 'source'):
source confs/base.conf
possible bashism in ./t/t15-dupes.sh line 16 (should be '.', not 'source'):
source confs/tarball.conf
possible bashism in ./t/t15-dupes.sh line 27 (should be '.', not 'source'):
source $locallib/sanitize.sh
possible bashism in ./t/t15-dupes.sh line 46 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e "$BM_ARCHIVE_ROOT/$BM_ARCHIVE_PREFIX$name.$YESTERDAY.master.tar.gz" ]]; then
possible bashism in ./t/t15-dupes.sh line 50 (alternative test command ([[ foo ]] should be [ foo ])):
    if [[ -L "$BM_ARCHIVE_ROOT/$BM_ARCHIVE_PREFIX$name.$YESTERDAY.master.tar.gz" ]]; then
possible bashism in ./t/t14-purging-system.sh line 6 (should be '.', not 'source'):
source testlib.sh
possible bashism in ./t/t14-purging-system.sh line 13 (should be '.', not 'source'):
source confs/base.conf
possible bashism in ./t/t14-purging-system.sh line 14 (should be '.', not 'source'):
source confs/tarball.conf
possible bashism in ./t/t14-purging-system.sh line 23 (should be '.', not 'source'):
source $locallib/sanitize.sh
possible bashism in ./t/t14-purging-system.sh line 27 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e $BM_REPOSITORY_ROOT ]]; then
possible bashism in ./t/t14-purging-system.sh line 40 ('function' is useless):
function create_test_repository()
possible bashism in ./t/t14-purging-system.sh line 79 ('function' is useless):
function create_test_repository_subdirs()
possible bashism in ./t/t14-purging-system.sh line 101 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e $BM_REPOSITORY_ROOT/ouranos-$date_4_days_ago.md5 ]]; then
possible bashism in ./t/t14-purging-system.sh line 106 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -e $BM_REPOSITORY_ROOT/ouranos01-usr-local-bin.$date_4_days_ago.master.tar.bz2 ]]; then
possible bashism in ./t/t14-purging-system.sh line 111 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -e $BM_REPOSITORY_ROOT/passwd ]]; then
possible bashism in ./t/t14-purging-system.sh line 115 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -e $BM_REPOSITORY_ROOT/ouranos-01020102-fdisk.incremental-list.txt ]] ||
possible bashism in ./t/t14-purging-system.sh line 116 (alternative test command ([[ foo ]] should be [ foo ])):
   [[ ! -e $BM_REPOSITORY_ROOT/ouranos01020102-fdisk.incremental-list.txt ]]; then
possible bashism in ./t/t14-purging-system.sh line 122 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -e "$BM_REPOSITORY_ROOT/subdir1/host-path-to-dir.$date_4_days_ago.txt" ]]; then
possible bashism in ./t/t14-purging-system.sh line 136 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e "$BM_REPOSITORY_ROOT/subdir1/host-path-to-dir.$date_4_days_ago.txt" ]]; then
possible bashism in ./t/t12-tarball-incremental-dar.sh line 5 (should be '.', not 'source'):
source testlib.sh
possible bashism in ./t/t12-tarball-incremental-dar.sh line 12 (should be '.', not 'source'):
source confs/base.conf
possible bashism in ./t/t12-tarball-incremental-dar.sh line 13 (should be '.', not 'source'):
source confs/tarball.conf
possible bashism in ./t/t12-tarball-incremental-dar.sh line 22 (should be '.', not 'source'):
source $locallib/sanitize.sh
possible bashism in ./t/t12-tarball-incremental-dar.sh line 31 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e $BM_ARCHIVE_ROOT ]]; then
possible bashism in ./t/t12-tarball-incremental-dar.sh line 43 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e "$BM_ARCHIVE_ROOT/$BM_ARCHIVE_PREFIX$name.$TODAY.master.1.dar" ]]; then
possible bashism in ./t/t12-tarball-incremental-dar.sh line 53 (alternative test command ([[ foo ]] should be [ foo ])):
        if [[ "$saved" == "[saved]" ]]; then
possible bashism in ./t/t12-tarball-incremental-dar.sh line 53 (should be 'b = a'):
        if [[ "$saved" == "[saved]" ]]; then
possible bashism in ./t/t10-tarball-dar-blacklist.sh line 6 (should be '.', not 'source'):
source testlib.sh
possible bashism in ./t/t10-tarball-dar-blacklist.sh line 10 (should be '.', not 'source'):
source confs/base.conf
possible bashism in ./t/t10-tarball-dar-blacklist.sh line 21 (should be '.', not 'source'):
source $locallib/sanitize.sh
possible bashism in ./t/t10-tarball-dar-blacklist.sh line 23 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -x $dar ]]; then
possible bashism in ./t/t10-tarball-dar-blacklist.sh line 29 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e $PWD/var ]]; then
possible bashism in ./t/t10-tarball-dar-blacklist.sh line 32 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e $PWD/repository ]]; then
possible bashism in ./t/t10-tarball-dar-blacklist.sh line 58 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e $BM_REPOSITORY_ROOT/$archive ]]
possible bashism in ./t/t10-tarball-dar-blacklist.sh line 66 (alternative test command ([[ foo ]] should be [ foo ])):
           if [[ "$warnings" = "true" ]]; then
possible bashism in ./t/t17-tarball-lzma.sh line 6 (should be '.', not 'source'):
source testlib.sh
possible bashism in ./t/t17-tarball-lzma.sh line 14 (should be '.', not 'source'):
source confs/base.conf
possible bashism in ./t/t17-tarball-lzma.sh line 15 (should be '.', not 'source'):
source confs/tarball.conf
possible bashism in ./t/t17-tarball-lzma.sh line 21 (should be '.', not 'source'):
source $locallib/sanitize.sh
possible bashism in ./t/t17-tarball-lzma.sh line 25 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e $BM_ARCHIVE_ROOT ]]; then
possible bashism in ./t/t17-tarball-lzma.sh line 36 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e "$BM_ARCHIVE_ROOT/$BM_ARCHIVE_PREFIX$name.$TODAY.master.tar.lz" ]]; then
possible bashism in ./t/t11.2-pipe-encrypted.sh line 5 (should be '.', not 'source'):
source testlib.sh
possible bashism in ./t/t11.2-pipe-encrypted.sh line 9 (should be '.', not 'source'):
source confs/base.conf
possible bashism in ./t/t11.2-pipe-encrypted.sh line 18 (should be '.', not 'source'):
source $locallib/sanitize.sh
possible bashism in ./t/t11.2-pipe-encrypted.sh line 22 (bash arrays, H[0]):
BM_PIPE_COMMAND[0]="cat /etc/passwd" 
possible bashism in ./t/t11.2-pipe-encrypted.sh line 23 (bash arrays, H[0]):
BM_PIPE_NAME[0]="passwd" 
possible bashism in ./t/t11.2-pipe-encrypted.sh line 24 (bash arrays, H[0]):
BM_PIPE_FILETYPE[0]="txt"
possible bashism in ./t/t11.2-pipe-encrypted.sh line 25 (bash arrays, H[0]):
BM_PIPE_COMPRESS[0]="gzip"
possible bashism in ./t/t11.2-pipe-encrypted.sh line 26 (bash arrays, H[0]):
files[0]="$BM_REPOSITORY_ROOT/$BM_ARCHIVE_PREFIX-passwd.$TODAY.txt.gz.gpg"
possible bashism in ./t/t11.2-pipe-encrypted.sh line 28 (bash arrays, H[0]):
BM_PIPE_COMMAND[1]="echo 'sukria' ; date " 
possible bashism in ./t/t11.2-pipe-encrypted.sh line 29 (bash arrays, H[0]):
BM_PIPE_NAME[1]="sukria" 
possible bashism in ./t/t11.2-pipe-encrypted.sh line 30 (bash arrays, H[0]):
BM_PIPE_FILETYPE[1]="txt"
possible bashism in ./t/t11.2-pipe-encrypted.sh line 31 (bash arrays, H[0]):
BM_PIPE_COMPRESS[1]="bzip2"
possible bashism in ./t/t11.2-pipe-encrypted.sh line 32 (bash arrays, H[0]):
files[1]="$BM_REPOSITORY_ROOT/$BM_ARCHIVE_PREFIX-sukria.$TODAY.txt.bz2.gpg"
possible bashism in ./t/t11.2-pipe-encrypted.sh line 34 (bash arrays, H[0]):
BM_PIPE_COMMAND[2]="ls -lh /" 
possible bashism in ./t/t11.2-pipe-encrypted.sh line 35 (bash arrays, H[0]):
BM_PIPE_NAME[2]="ls-root" 
possible bashism in ./t/t11.2-pipe-encrypted.sh line 36 (bash arrays, H[0]):
BM_PIPE_FILETYPE[2]="txt"
possible bashism in ./t/t11.2-pipe-encrypted.sh line 37 (bash arrays, H[0]):
BM_PIPE_COMPRESS[2]=""
possible bashism in ./t/t11.2-pipe-encrypted.sh line 38 (bash arrays, H[0]):
files[2]="$BM_REPOSITORY_ROOT/$BM_ARCHIVE_PREFIX-ls-root.$TODAY.txt.gpg"
possible bashism in ./t/t11.2-pipe-encrypted.sh line 46 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -e $PWD/repository ]]; then
possible bashism in ./t/t11.2-pipe-encrypted.sh line 57 (alternative test command ([[ foo ]] should be [ foo ])):
    if [[ ! -e $file ]]; then

This report was generated on Thu, 16 Dec 2010 11:38:02 +0000, based on results by checkbashisms 2.10.65git5