File: t.no_ld_preload_link

package info (click to toggle)
fakeroot 1.14.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,000 kB
  • ctags: 565
  • sloc: sh: 10,485; ansic: 3,538; makefile: 290; perl: 14
file content (11 lines) | stat: -rwxr-xr-x 309 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
. ./defs || exit 1
mkdir $tmp
run_fakeroot -- \
 ${posixshell} -c "touch $tmp/justafile &&
                   ln -s justafile $tmp/alink &&
                   $LDPRELOADVAR= rm $tmp/alink &&
                   touch $tmp/alink &&
                   ls -ld $tmp/alink" | grep "^-"
TEMP=$?
exit $TEMP