sanoid/tests/syncoid
Nick Liu a904ba02f3
enh(run-tests.sh): Sort tests with "general numeric sort"
The sort before tended to be alphabetical, which put test
`8_force_delete_snapshot` after `815_sync_out-of-order_snapshots`, but
`8` should come before `815`.

Before:

```
root@demo:~/sanoid/tests/syncoid# ./run-tests.sh
Running test 1_bookmark_replication_intermediate ... [PASS]
Running test 2_bookmark_replication_no_intermediate ... [PASS]
Running test 3_force_delete ... [PASS]
Running test 4_bookmark_replication_edge_case ... [PASS]
Running test 5_reset_resume_state ... mbuffer: error: outputThread: error writing to <stdout> at offset 0x90000: Broken pipe
mbuffer: warning: error during output to <stdout>: Broken pipe
[PASS]
Running test 6_reset_resume_state2 ... [PASS]
Running test 7_preserve_recordsize ... [PASS]
Running test 815_sync_out-of-order_snapshots ... [PASS]
Running test 8_force_delete_snapshot ... [PASS]
```

After:

```
root@demo:~/sanoid/tests/syncoid# ./run-tests.sh
Running test 1_bookmark_replication_intermediate ... [PASS]
Running test 2_bookmark_replication_no_intermediate ... [PASS]
Running test 3_force_delete ... [PASS]
Running test 4_bookmark_replication_edge_case ... [PASS]
Running test 5_reset_resume_state ... mbuffer: error: outputThread: error writing to <stdout> at offset 0xf0000: Broken pipe
mbuffer: warning: error during output to <stdout>: Broken pipe
[PASS]
Running test 6_reset_resume_state2 ... [PASS]
Running test 7_preserve_recordsize ... [PASS]
Running test 8_force_delete_snapshot ... [PASS]
Running test 815_sync_out-of-order_snapshots ... [PASS]
```
2023-04-28 01:00:03 -05:00
..
1_bookmark_replication_intermediate make tests work on FreeBSD 2019-01-08 20:10:38 +01:00
2_bookmark_replication_no_intermediate make tests work on FreeBSD 2019-01-08 20:10:38 +01:00
3_force_delete make tests work on FreeBSD 2019-01-08 20:10:38 +01:00
4_bookmark_replication_edge_case fix bookmark edge case where replication was already done to the latest snapshot (+ test) 2019-01-30 23:49:38 +01:00
5_reset_resume_state fixes some tests which fail on fast storage 2023-03-21 16:44:38 +01:00
6_reset_resume_state2 fixes some tests which fail on fast storage 2023-03-21 16:44:38 +01:00
7_preserve_recordsize modify zfs-get argument order for portability 2023-12-10 21:16:42 -06:00
8_force_delete_snapshot implemented removal of conflicting snapshots with force-delete option 2020-12-07 22:40:28 +01:00
9_preserve_properties Merge branch 'master' into zfs-get 2024-01-13 23:27:38 +01:00
10_filter_snaps Merge branch 'master' into filter-snaps 2024-01-13 19:40:28 +01:00
815_sync_out-of-order_snapshots test(syncoid): Add test to verify out-of-order snapshot sync 2023-04-25 17:35:45 -05:00
run-tests.sh enh(run-tests.sh): Sort tests with "general numeric sort" 2023-04-28 01:00:03 -05:00