diff options
author | Jim Meyering <jim@meyering.net> | 2005-01-30 14:31:19 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-01-30 14:31:19 +0000 |
commit | f13af5d4242da9340efb6cf173095f471197c2ed (patch) | |
tree | a2b68c60822d50551e8547ffac50e26f2fdfc26c /tests/chown/separator | |
parent | 1ab0c93405b73921c27fb7b638ece4354c39cec9 (diff) | |
download | coreutils-f13af5d4242da9340efb6cf173095f471197c2ed.tar.xz |
Quote user and group names.
Diffstat (limited to 'tests/chown/separator')
-rwxr-xr-x | tests/chown/separator | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/chown/separator b/tests/chown/separator index 45d5cdc3b..0c4c59f54 100755 --- a/tests/chown/separator +++ b/tests/chown/separator @@ -37,8 +37,8 @@ fail=0 chown '' . || fail=1 -for u in $id_u $id_un ''; do - for g in $id_g $id_gn ''; do +for u in $id_u "$id_un" ''; do + for g in $id_g "$id_gn" ''; do case $u$g in *.*) seps=':' ;; *) seps=': .' ;; |