☰
Debian Codegraph
@
1.0.24-5.2
/
/
tests
/
user
/
t12
☽
☼
tests/user/t12
code
plain
raw
GPL-2
2010-2012 Lawrence Livermore National Security, LLC.
debian/copyright
1
#!/bin/bash
2
3
uid=$(id -u daemon) || exit 1 # unlikely
4
[ $(id -u) != $uid ] || exit 1 # unlikely
5
[ $(id -u) != 0 ] || exit 1 # enforced by runtest
6
7
# should fail - diod is running as "me" only and $uid is not me
8
./tattach $uid "$@"