From 6d34f332b587a11c002f9a76cf2ec85a8c45a959 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Wed, 14 Mar 2018 17:30:41 +0100 Subject: Add an option to transliterate all tags --- test/tests/filter-directory-all-tags.success | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/tests/filter-directory-all-tags.success (limited to 'test') diff --git a/test/tests/filter-directory-all-tags.success b/test/tests/filter-directory-all-tags.success new file mode 100644 index 0000000..1b96830 --- /dev/null +++ b/test/tests/filter-directory-all-tags.success @@ -0,0 +1,16 @@ +#!/bin/sh + +. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap.sh" + +initializeRepositories + +"${BIN_MAIN}" --workdir "${DIR_TEMP}" --whitelist 'master' --tags all -- "${DIR_SOURCE}" '--subdirectory-filter subdir' "${DIR_DESTINATION}" + +echo 'Fetching tags' +actualTags="$(getTagList "${DIR_DESTINATION}")" +expectedTags='tag-02 tag-03' +if test "${actualTags}" != "${expectedTags}" +then + printf 'Expected tags: %s\nResulting tags: %s\n' "${expectedTags}" "${actualTags}">&2 + exit 1 +fi -- cgit v1.2.3