t0004: Specify proper options for ls commands.
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 28 Dec 2016 20:40:42 +0000 (21:40 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 28 Dec 2016 20:40:42 +0000 (21:40 +0100)
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

index c2e809cb6da569d05177bd3552ece039047a96e7..1963748f81547ac5706b992597cc41955abffa6d 100755 (executable)
@@ -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++