[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61040] verbose_option_works.sh: option "-T..." for "nroff" is a va
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #61040] verbose_option_works.sh: option "-T..." for "nroff" is a variable, but a constant in the test string |
Date: |
Tue, 17 Aug 2021 18:10:22 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #2, bug #61040 (project groff):
The test failed with "-Tlatin1" being different from "-Tascii".
So I thought the "-T" option was the test.
Now looking at the content of the test,
it is now evident to me,
that the real test is to find out
if the used shell resolves correctly the parameter expansion
'${1+"$@"}'
I see two solutions
1) add "-Tascii" to the nroff command
2) add " -- " after the options to "nroff"
change the "sedexpr" to '^.* -- ' and the testing string for "groff"
accordingly.
N.B.
A test for invalid arguments to the "-T" option is missing,
otherwise a value from the environment is supplied without telling the
user.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61040>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #61040] verbose_option_works.sh: option "-T..." for "nroff" is a variable, but a constant in the test string, Bjarni Ingi Gislason, 2021/08/13
- [bug #61040] verbose_option_works.sh: option "-T..." for "nroff" is a variable, but a constant in the test string, G. Branden Robinson, 2021/08/16
- [bug #61040] verbose_option_works.sh: option "-T..." for "nroff" is a variable, but a constant in the test string,
Bjarni Ingi Gislason <=
- [bug #61040] [nroff]: verbose_option_works.sh: confounded by GROFF_TYPESETTER in environment, G. Branden Robinson, 2021/08/20
- [bug #61040] [nroff]: verbose_option_works.sh: confounded by GROFF_TYPESETTER in environment, Bjarni Ingi Gislason, 2021/08/21
- [bug #61040] [nroff]: verbose_option_works.sh: confounded by GROFF_TYPESETTER in environment, G. Branden Robinson, 2021/08/21
- [bug #61040] [nroff]: verbose_option_works.sh: confounded by environment variables, G. Branden Robinson, 2021/08/22
- [bug #61040] [nroff]: verbose_option_works.sh: confounded by environment variables, G. Branden Robinson, 2021/08/23