16263: Adds nullify behavior to users's batch_update endpoint.
[arvados.git] / services / login-sync / test / binstub_new_user / useradd
1 #!/bin/bash
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: AGPL-3.0
5
6 stub="${0##*/}"
7
8 # Record what actually happened in the "spy" file
9 echo "$stub $*" >> "$ARVADOS_LOGIN_SYNC_TMPDIR/spy"
10
11 # Exit 0 if this command was listed in the "succeed" file
12 exec fgrep -qx -- "$stub $*" "$ARVADOS_LOGIN_SYNC_TMPDIR/succeed"