mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
956e51707d
statd-callout tries to remove global files from /var/lib/nfs/statd and this causes errors in tests. Add an rm stub that ignores attempts to remove these files but invokes /bin/rm for anything else. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Pair-programmed-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Martin Schwenke <martin@meltin.net>
7 lines
117 B
Bash
Executable File
7 lines
117 B
Bash
Executable File
#!/bin/sh
|
|
# Make statd-callout happy
|
|
case "$*" in
|
|
*/var/lib/nfs/statd/sm*) : ;;
|
|
*) exec /bin/rm "$@" ;;
|
|
esac
|