Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t1029: remove brackets from grep tests #433

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions t/t1029-mf-priority-default-bank.t
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ test_expect_success 'add user to flux-accounting DB and update plugin' '
test_expect_success 'check that bank was added to jobspec' '
flux job wait-event -f json $jobid priority &&
flux job info $jobid eventlog > eventlog.out &&
grep "{\"attributes.system.bank\":\"account1\"}" eventlog.out &&
grep "\"attributes.system.bank\":\"account1\"" eventlog.out &&
flux job cancel $jobid
'

Expand All @@ -75,7 +75,7 @@ test_expect_success 'successfully submit a job under a default bank' '
jobid=$(flux python ${SUBMIT_AS} 1001 hostname) &&
flux job wait-event -f json $jobid priority &&
flux job info $jobid eventlog > eventlog.out &&
grep "{\"attributes.system.bank\":\"account1\"}" eventlog.out &&
grep "\"attributes.system.bank\":\"account1\"" eventlog.out &&
flux job cancel $jobid
'

Expand All @@ -88,7 +88,7 @@ test_expect_success 'successfully submit a job under the new default bank' '
jobid=$(flux python ${SUBMIT_AS} 1001 hostname) &&
flux job wait-event -f json $jobid priority &&
flux job info $jobid eventlog > eventlog.out &&
grep "{\"attributes.system.bank\":\"account2\"}" eventlog.out &&
grep "\"attributes.system.bank\":\"account2\"" eventlog.out &&
flux job cancel $jobid
'

Expand Down