mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-21 07:22:31 +00:00
501953d69e
The current script gets stuck in an infinite loop when the test suite is started with 1 mount point. This is due to the advancement part of the script in which it advances the ops for each mount. The current while loop checks for when the op_mnt wraps by checking if it equals 0. But the problem is we set each of the op_mnts to 0 during the advancement, so when it wraps it still equates to 0, so it is an infinite loop. Therefore, the fix is to check at the end of the loop check if the last op's mount number wrapped. If so just break out. Signed-off-by: Bryant Duffy-Ly <bduffyly@versity.com>