File: exec-one-rtn-fail.exp

package info (click to toggle)
findutils 4.10.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,108 kB
  • sloc: ansic: 126,635; sh: 11,486; yacc: 1,852; makefile: 844; exp: 839; python: 66; sed: 16
file content (4 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (5)
1
2
3
4
# If -exec \; fails, it should return false.   The return
# value of find should stil; be 0, unless another error has
# happened.
find_start p { /tmp -exec false \; -o \( -printf "yep\n" -quit \) }