diff options
Diffstat (limited to 'tests/misc/truncate-owned-by-other')
-rwxr-xr-x | tests/misc/truncate-owned-by-other | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/truncate-owned-by-other b/tests/misc/truncate-owned-by-other index 652034807..e7dfb38b3 100755 --- a/tests/misc/truncate-owned-by-other +++ b/tests/misc/truncate-owned-by-other @@ -24,8 +24,8 @@ require_root_ group_num=$(id -g $NON_ROOT_USERNAME) # Create a file owned by root, and writable by $NON_ROOT_USERNAME. -echo > root-owned || framework_failure -chgrp +$group_num . root-owned || framework_failure +echo > root-owned || framework_failure_ +chgrp +$group_num . root-owned || framework_failure_ chmod g+w root-owned # Ensure that the current directory is searchable by $NON_ROOT_USERNAME. |