Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 599706 | Differences between
and this patch

Collapse All | Expand All

(-)a/tests/fchmod-2.sh (+11 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# Ensure that fchmod() doesn't trigger spurious violations in the most
4
# basic of cases.
5
#
6
addwrite $PWD
7
8
# This should not trigger a violation.
9
rm -f file
10
touch file
11
fchmod-0 0644 file || exit 1
(-)a/tests/fchmod.at (+1 lines)
Line 1 Link Here
1
SB_CHECK(1)
1
SB_CHECK(1)
2
SB_CHECK(2)
(-)a/tests/fchown-2.sh (+11 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# Ensure that fchown() doesn't trigger spurious violations in the most
4
# basic of cases.
5
#
6
addwrite $PWD
7
8
# This should not trigger a violation.
9
rm -f file
10
touch file
11
fchown-0 ${SB_UID} ${SB_GID} file || exit 1
(-)a/tests/fchown.at (-1 / +1 lines)
Line 1 Link Here
1
SB_CHECK(1)
1
SB_CHECK(1)
2
- 
2
SB_CHECK(2)

Return to bug 599706