Skip to content

Commit

Permalink
t: use consistent tabbing in tests
Browse files Browse the repository at this point in the history
Problem: t0090-content-enospc.t used inconsistent tabs vs spaces.

Tabify everything.
  • Loading branch information
chu11 committed Aug 16, 2024
1 parent 67b866c commit f3d59c9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions t/t0090-content-enospc.t
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ test_expect_success 'flux still operates with content-sqlite running out of spac
-o,-Scontent.backing-module=content-sqlite \
-o,-Sstatedir=/test/tmpfs-1m/statedir \
"./fillstatedir.sh; flux dmesg; flux run echo helloworld" > sql.out 2> sql.err &&
grep -q "No space left on device" sql.out &&
grep "helloworld" sql.out
grep -q "No space left on device" sql.out &&
grep "helloworld" sql.out
'

# flux start will fail b/c rc3 will fail due to ENOSPC
Expand All @@ -42,8 +42,8 @@ test_expect_success 'flux still operates with content-files running out of space
-o,-Scontent.backing-module=content-files \
-o,-Sstatedir=/test/tmpfs-1m/statedir \
"./fillstatedir.sh; flux dmesg; flux run echo helloworld" > files.out 2> files.err &&
grep -q "No space left on device" files.out &&
grep "helloworld" files.out
grep -q "No space left on device" files.out &&
grep "helloworld" files.out
'

# flux start will fail b/c rc3 will fail due to ENOSPC
Expand All @@ -54,8 +54,8 @@ test_expect_success 'content flush returns error on ENOSPC' '
-o,-Scontent.backing-module=content-sqlite \
-o,-Sstatedir=/test/tmpfs-1m/statedir \
"./fillstatedir.sh; flux dmesg; flux content flush" > flush.out 2> flush.err &&
grep -q "No space left on device" flush.out &&
grep "content.flush: No space left on device" flush.err
grep -q "No space left on device" flush.out &&
grep "content.flush: No space left on device" flush.err
'

test_done

0 comments on commit f3d59c9

Please sign in to comment.