From: Sven Hoexter Date: Wed, 14 Aug 2024 07:47:25 +0000 (+0200) Subject: deabian/tests: explicitly export PATH env variable including /usr/sbin to make sure... X-Git-Tag: debian/1.2.5-2~1 X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=a12f0e013a4393435b7fc45c65a6ba3761ae8ee0;p=sven%2Fexfatprogs.git deabian/tests: explicitly export PATH env variable including /usr/sbin to make sure fsck.exfat can be found when running as non-root user. --- diff --git a/debian/changelog b/debian/changelog index 51dd1c6..95e149a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +exfatprogs (1.2.5-2) UNRELEASED; urgency=medium + + * deabian/tests: explicitly export PATH env variable including + /usr/sbin to make sure fsck.exfat can be found when + running as non-root user. + + -- Sven Hoexter Wed, 14 Aug 2024 09:44:45 +0200 + exfatprogs (1.2.5-1) unstable; urgency=medium * New upstream release. diff --git a/debian/tests/create-files b/debian/tests/create-files index d7e89d6..67e8ee3 100644 --- a/debian/tests/create-files +++ b/debian/tests/create-files @@ -1,5 +1,7 @@ #!/bin/bash +export PATH="/usr/sbin:$PATH" + # Original source: # https://github.com/exfatprogs/exfatprogs/blob/1.2.4/.github/workflows/c-cpp.yml#L37 diff --git a/debian/tests/fsck b/debian/tests/fsck index bbb998f..2b27cc6 100755 --- a/debian/tests/fsck +++ b/debian/tests/fsck @@ -1,5 +1,7 @@ #!/bin/bash +export PATH="/usr/sbin:$PATH" + set -e export TESTDIR="${AUTOPKGTEST_TMP}/fsck_tests"