#!/bin/sh
case "$*" in
    '-n 9') exit 0 ;;
    -w*) exit 1 ;; # A timed wait expires while the test holds the lock.
    8) printf W; IFS= read -r release ;;
    *) exit 2 ;;
esac
