diff options
Diffstat (limited to 'src/test/cli/monmaptool/create-print.t')
-rw-r--r-- | src/test/cli/monmaptool/create-print.t | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/test/cli/monmaptool/create-print.t b/src/test/cli/monmaptool/create-print.t new file mode 100644 index 000000000..31cca0242 --- /dev/null +++ b/src/test/cli/monmaptool/create-print.t @@ -0,0 +1,23 @@ + $ monmaptool --create mymonmap + monmaptool: monmap file mymonmap + monmaptool: generated fsid [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} (re) + setting min_mon_release = pacific + monmaptool: writing epoch 0 to mymonmap (0 monitors) + + $ monmaptool --print mymonmap + monmaptool: monmap file mymonmap + epoch 0 + fsid [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} (re) + last_changed \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+.\d\d\d\d (re) + created \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+.\d\d\d\d (re) + min_mon_release 16 (pacific) + election_strategy: 1 + + $ monmaptool --print -- mymonmap + monmaptool: monmap file mymonmap + epoch 0 + fsid [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} (re) + last_changed \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+.\d\d\d\d (re) + created \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+.\d\d\d\d (re) + min_mon_release 16 (pacific) + election_strategy: 1 |