/usr/share/scratchbox2/tests/test-faketarget.sh is in scratchbox2 2.2.4-1debian1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | # Fakeroot target-side id is root
set -e
cat > idtest.c <<EOF
#include <sys/types.h>
uid_t getuid(void);
int main(){return geteuid ()!=0;}
EOF
gcc idtest.c -o idtest
fakeroot ./idtest
|