File: test-d2175fc3.sh

package info (click to toggle)
proot 5.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,012 kB
  • sloc: ansic: 18,627; sh: 1,662; python: 108; asm: 41; makefile: 16; awk: 6
file content (11 lines) | stat: -rw-r--r-- 450 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if [ ! -x  "${ROOTFS}/bin/readlink" ] || [ -z "$(command -v grep)" ]; then
    exit 125;
fi

"${PROOT}" -r "${ROOTFS}" /bin/readlink /bin/abs-true | grep "$(command -v true)"
"${PROOT}" -r "${ROOTFS}" /bin/readlink /bin/rel-true | grep '^\./true$'

"${PROOT}" -b /:/host-rootfs -r "${ROOTFS}" /bin/readlink /bin/abs-true | grep "$(command -v true)"
"${PROOT}" -b /:/host-rootfs -r "${ROOTFS}" /bin/readlink /bin/rel-true | grep '^./true$'