File: t.no_ld_preload

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 273 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 &&
                   $LDPRELOADVAR= rm $tmp/justafile &&
                   mkdir $tmp/justafile &&
                   ls -ld $tmp/justafile" | grep "^d"
TEMP=$?
exit $TEMP