~mvo/apt/lp346386

« back to all changes in this revision

Viewing changes to test/libapt/run-tests

  • Committer: Michael Vogt
  • Date: 2012-01-30 19:22:18 UTC
  • mfrom: (1561.70.94 apt-experimental)
  • Revision ID: michael.vogt@ubuntu.com-20120130192218-hdnxpmj5yhteekf1
mergedĀ fromĀ donkult

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
                        "${tmppath}/ftp.de.debian.org_debian_dists_sid_main_i18n_Translation-st.bak" \
68
68
                        "${tmppath}/ftp.de.debian.org_debian_dists_sid_main_i18n_Translation-ast_DE"
69
69
        elif [ $name = "HashSums${EXT}" ]; then
70
 
                TMP="$(mktemp)"
71
 
                dmesg > $TMP
 
70
                TMP="$(readlink -f "./${0}")"
72
71
                echo -n "Testing with \033[1;35m${name}\033[0m ... "
73
72
                LD_LIBRARY_PATH=${LDPATH} ${testapp} $TMP $(md5sum $TMP | cut -d' ' -f 1) $(sha1sum $TMP | cut -d' ' -f 1) $(sha256sum $TMP | cut -d' ' -f 1) $(sha512sum $TMP | cut -d' ' -f 1) && echo "\033[1;32mOKAY\033[0m" || echo "\033[1;31mFAILED\033[0m"
74
 
                rm $TMP
75
73
                continue
76
74
        elif [ $name = "CompareVersion${EXT}" ]; then
77
75
                tmppath="${DIR}/versions.lst"