I get the same atime pretty frequently. Wait a second to be sure it
changes.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jan 5 11:20:04 UTC 2026 on atb-devel-224
rm -f "$tmpfile"
atime1=`stat -c '%x' "$share_test_dir/test_mtime"`
mtime1=`stat -c '%y' "$share_test_dir/test_mtime"`
+ sleep 1
if ! $SMBCLIENT -U$USERNAME%$PASSWORD //$SERVER/recycle -I$SERVER_IP $ADDARGS -c 'del test_mtime' ; then
printf "failed recycle smbclient"
return 1