summaryrefslogtreecommitdiff
path: root/tests/ts/getopt/basic
Commit message (Collapse)AuthorAgeFilesLines
* tests: wrap $TS_{TOPDIR,SELF} in "." cmdline with double quote charsMasatake YAMATO2022-11-231-1/+1
| | | | | | | | | | The command lines used for this change: $ cd tests/ts $ sed -i -e 's|. $TS_SELF/|. "$TS_SELF"/|' $(grep --exclude='*~' -lr -e '^\. \$TS_SELF/') $ sed -i -e 's|. $TS_TOPDIR/functions.sh|. "$TS_TOPDIR"/functions.sh|' $(grep --exclude='*~' -lr -e '^\. \$TS_TOPDIR/functions.sh') Signed-off-by: Masatake YAMATO <yamato@redhat.com>
* docs: rename to getopt-exampleKarel Zak2020-11-031-1/+1
| | | | | Addresses: https://github.com/karelzak/util-linux/commit/27114b297424ecf1b745b1a71f6d40be0e56e67e#commitcomment-43591002 Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: split stdout and stderrKarel Zak2019-08-301-3/+3
| | | | | | | | | | | | | * add $TS_ERRLOG for script stderr output * add optional $TS_EXPECTED_ERR which points to expected/*/*.err This change allows to keep track about stderr output from our commands (already found bug in sfdisk...). We do not have to depend on fragile stdout vs. stderr order (due to different buffering semantic in different libc, etc.). Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: move getopt to separate directoryKarel Zak2016-04-221-0/+49
Signed-off-by: Karel Zak <kzak@redhat.com>