mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
du: tests: use dollar-single quotes where appropriate
No need for "foo$(printf "\t")", $'\t' is both more readable and still functional. Reported-by: Jamie Landeg-Jones <jamie@catflap.org>
This commit is contained in:
parent
0f919ed4ae
commit
bf59049c27
|
@ -46,7 +46,7 @@ H_flag_body()
|
|||
{
|
||||
local paths1='testdir/A/B testdir/A testdir/C testdir'
|
||||
local paths2='testdir/C/B testdir/C'
|
||||
local lineprefix="^[0-9]+$(printf "\t")"
|
||||
local lineprefix=$'^[0-9]+\t'
|
||||
local sep="\$\n${lineprefix}"
|
||||
|
||||
atf_check mkdir testdir
|
||||
|
|
Loading…
Reference in a new issue