1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-06-18 23:57:33 +02:00

Make ls ordering deterministic in mock/all test.

This commit is contained in:
David Steele
2018-07-01 20:02:37 -04:00
parent 1bd98b61df
commit 3d07e01fe9
3 changed files with 8 additions and 4 deletions

View File

@ -1265,7 +1265,7 @@ sub run
#---------------------------------------------------------------------------------------------------------------------------
if (!$bRemote && !$bS3)
{
executeTest('ls -1R ' . storageRepo()->pathGet('backup/' . $self->stanza() . '/' . PATH_BACKUP_HISTORY),
executeTest('ls -1Rtr ' . storageRepo()->pathGet('backup/' . $self->stanza() . '/' . PATH_BACKUP_HISTORY),
{oLogTest => $self->expect(), bRemote => $bRemote});
}