diff --git a/t/t1023-flux-account-banks.t b/t/t1023-flux-account-banks.t index 548e3eaa..b7b00730 100755 --- a/t/t1023-flux-account-banks.t +++ b/t/t1023-flux-account-banks.t @@ -145,6 +145,11 @@ test_expect_success 'call list-banks with a bad field' ' grep "invalid fields: foo" error.out ' +test_expect_success 'combining --tree with --fields does not work' ' + test_must_fail flux account view-bank root --tree --fields=bank_id > error.out 2>&1 && + grep "tree option does not support custom formatting" error.out +' + test_expect_success 'remove flux-accounting DB' ' rm $(pwd)/FluxAccountingTest.db '