bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] tests: don't use sticky-bit in install-C test


From: Aurelien Jarno
Subject: [PATCH] tests: don't use sticky-bit in install-C test
Date: Fri, 17 Apr 2009 18:10:04 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

tests/install/install-C uses mode 1755 to test install -C with
non-permission bits set, that is the sticky bit set. Depending on the
system, it is not always possible to set this bit for files (but 
allowed for directories) as non-root user. That's is the case for 
example on FreeBSD with an UFS filesystem.

The patch below uses 2755 instead of 1755, which should work on all
systems.

* tests/install/install-C: Use 2755 instead of 1755 to test install
  -C with non-permission mode set.
---
 tests/install/install-C |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/install/install-C b/tests/install/install-C
index 9d0ec90..959bee1 100755
--- a/tests/install/install-C
+++ b/tests/install/install-C
@@ -26,7 +26,7 @@ skip_if_setgid_
 
 mode1=0644
 mode2=0755
-mode3=1755
+mode3=2755
 
 fail=0
 
-- 
1.5.6.5

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
address@hidden                 http://www.aurel32.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]