mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
du: tests: use dollar-single quotes where appropriate
No need for "foo$(printf "\t")", $'\t' is both more readable and still
functional.
(cherry picked from commit bf59049c27)
This commit is contained in:
parent
37fed6c860
commit
ca9e7ac2fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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