The branch, master has been updated
       via  c59269bb43c tests: Make recycle:touch test less flakey
      from  b9da148ab6b Happy New Year 2026!

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c59269bb43cd06c702496867cc11ec08c63fb9c2
Author: Volker Lendecke <[email protected]>
Date:   Mon Jan 5 10:15:45 2026 +0100

    tests: Make recycle:touch test less flakey
    
    I get the same atime pretty frequently. Wait a second to be sure it
    changes.
    
    Signed-off-by: Volker Lendecke <[email protected]>
    Reviewed-by: Martin Schwenke <[email protected]>
    
    Autobuild-User(master): Volker Lendecke <[email protected]>
    Autobuild-Date(master): Mon Jan  5 11:20:04 UTC 2026 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 source3/script/tests/test_recycle.sh | 1 +
 1 file changed, 1 insertion(+)


Changeset truncated at 500 lines:

diff --git a/source3/script/tests/test_recycle.sh 
b/source3/script/tests/test_recycle.sh
index 9f98841bd32..1b2e8171a1f 100755
--- a/source3/script/tests/test_recycle.sh
+++ b/source3/script/tests/test_recycle.sh
@@ -129,6 +129,7 @@ test_touch()
        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


-- 
Samba Shared Repository

Reply via email to