]> git.arvados.org - arvados.git/blob - services/login-sync/test/binstub_new_user/useradd
Merge branch 'master' into 6507-node-manager-azure
[arvados.git] / services / login-sync / test / binstub_new_user / useradd
1 #!/bin/bash
2
3 stub="${0##*/}"
4
5 # Record what actually happened in the "spy" file
6 echo "$stub $*" >> "$ARVADOS_LOGIN_SYNC_TMPDIR/spy"
7
8 # Exit 0 if this command was listed in the "succeed" file
9 exec fgrep -qx -- "$stub $*" "$ARVADOS_LOGIN_SYNC_TMPDIR/succeed"