URL:
<https://savannah.gnu.org/bugs/?65796>
Summary: tests/misc/help-version.sh fails distcheck when tree
is dirty
Group: findutils
Submitter: jay
Submitted: Sun 26 May 2024 03:58:00 PM UTC
Category: None
Severity: 4 - Important
Item Group: Test suite failure
Status: None
Privacy: Public
Assigned to: berny
Originator Name: James Youngman
Originator Email:
Open/Closed: Open
Release: 4.9.0
Discussion Lock: Any
Fixed Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 26 May 2024 03:58:00 PM UTC By: James Youngman <jay>
If there is an unsubmitted change to a controlled file, the
tests/misc/help-version.sh test fails because the environment variable VERSION
holds a different value to that indicated in the output of find --version.
I'm about to submit a change which makes the error message more explicit about
what is different, but the change doesn't fix the test failure.
If the tree only has checked-in changes, there is no failure. If only "make
check" is run, I think also there is no failure.
The test fails with our without my patch, the patch just puts additional
details into the failure message:
help-version.sh: failed test: --version-$VERSION mismatch (4.9.0.74-1f052
(being the output from find --version) should match the environment variable
VERSION, which has the value 4.9.0.73-3213-dirty)
Bernhard, I believe you introduced this test. What is the expected behaviour
(value, if you like) of the VERSION environment variable here?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65796>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/