diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-08-15 16:41:16 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-08-15 17:39:24 +0200 |
commit | ca6ab6e37c101f21066d1522c6e9c202856842ca (patch) | |
tree | 1014a68b31050281374b4a153805eead4fe64baf /test/libapt/run-tests | |
parent | 1b32290b2e63fa96a3f27c75af04d14d713c4884 (diff) |
rework the parameter creation for the Hashsum test
Avoids having to different places from which test binaries are called
Git-Dch: Ignore
Diffstat (limited to 'test/libapt/run-tests')
-rwxr-xr-x | test/libapt/run-tests | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/libapt/run-tests b/test/libapt/run-tests index 4f34b03e8..764663020 100755 --- a/test/libapt/run-tests +++ b/test/libapt/run-tests @@ -72,9 +72,11 @@ do "${tmppath}/ftp.de.debian.org_debian_dists_sid_main_i18n_Translation-tlh%5fDE" elif [ $name = "HashSums${EXT}" ]; then TMP="$(readlink -f "./${0}")" - echo -n "Testing with ${NAME} " - 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 "$TESTOKAY" || echo "$TESTFAIL" - continue + tmppath="$TMP" + tmppath="${tmppath} $(md5sum $TMP | cut -d' ' -f 1)" + tmppath="${tmppath} $(sha1sum $TMP | cut -d' ' -f 1)" + tmppath="${tmppath} $(sha256sum $TMP | cut -d' ' -f 1)" + tmppath="${tmppath} $(sha512sum $TMP | cut -d' ' -f 1)" elif [ $name = "CompareVersion${EXT}" ]; then tmppath="${DIR}/versions.lst" elif [ $name = "CdromFindPackages${EXT}" ]; then |