File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ tests_du_move_dir_while_traversing.patch
1111test_mkdir_restorecon.patch
1212error_msg_uniq.diff
1313tests_numfmt.patch
14+ tests_help_help-version.patch
Original file line number Diff line number Diff line change 1+ Index: gnu/tests/help/help-version.sh
2+ ===================================================================
3+ --- gnu.orig/tests/help/help-version.sh
4+ +++ gnu/tests/help/help-version.sh
5+ @@ -56,9 +56,9 @@ expected_failure_status_fgrep=2
6+ test "$built_programs" \
7+ || fail_ "built_programs not specified!?!"
8+
9+ - test "$VERSION" \
10+ - || fail_ "set envvar VERSION; it is required for a PATH sanity-check"
11+ -
12+ + # Extract VERSION dynamically from first program's output for uutils
13+ + for i in $built_programs; do
14+ + VERSION=$(env $i --version | sed -n '1s/.* //p;q'); break; done
15+ # Extract version from --version output of the first program
16+ for i in $built_programs; do
17+ v=$(env $i --version | sed -n '1s/.* //p;q')
You can’t perform that action at this time.
0 commit comments