From b5f9618cde29dfe0871b420c54c094362e3b5dc6 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 28 Dec 2016 21:40:42 +0100 Subject: [PATCH] t0004: Specify proper options for ls commands. The -p option is deprecated, and the default behaviour (if none of -p, -F and -b is given) will change in v0.6.0. Although the tests succeed at the moment, it seems prudent to switch to the modern syntax to make sure the tests won't break when -p is removed and the default behaviour is changed. --- t/t0004-server.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t0004-server.sh b/t/t0004-server.sh index c2e809cb..1963748f 100755 --- a/t/t0004-server.sh +++ b/t/t0004-server.sh @@ -45,7 +45,7 @@ bad[$i]='.' let i++ commands[$i]="ls_ogg" required_objects[$i]='ogg_afh' -cmdline[$i]="ls -l=v ${oggs_base[@]}" +cmdline[$i]="ls -l=v -b ${oggs_base[@]}" good[$i]='^basename:' let i++ @@ -69,7 +69,7 @@ bad[$i]='.' let i++ commands[$i]="ls" required_objects[$i]='ogg_afh' -cmdline[$i]="ls -l=v -p ${oggs[@]}" +cmdline[$i]="ls -l=v -F ${oggs[@]}" good[$i]='^attributes_txt: 33' let i++ -- 2.39.2