To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorPhysical Block Size
As a developer
I want to configure the physical block size
In order to make the disk usage work for my application's setup
- Background
-
- Given
- I use the fixture "cli-app"
- Scenarios
-
- Default value
- Set the block size to something else which is a power of two
- The value needs to be a power of two, otherwise it will fail
- Default value
-
- Given
-
a file named "features/support/aruba.rb" with:
Aruba.configure do |config| puts %(The default value is "#{config.physical_block_size}") end
- When
-
I successfully run
cucumber
- Then
-
the output should contain:
The default value is "512"
- Set the block size to something else which is a power of two
-
- Given
-
a file named "features/support/aruba.rb" with:
Aruba.configure do |config| # use current working directory config.physical_block_size = 4096 end Aruba.configure do |config| puts %(The default value is "#{config.physical_block_size}") end
- When
-
I successfully run
cucumber
- Then
-
the output should contain:
The default value is "4096"
- The value needs to be a power of two, otherwise it will fail
-
- Given
-
a file named "features/support/aruba.rb" with:
Aruba.configure do |config| config.physical_block_size = 3 end
- When
-
I run
cucumber
- Then
-
the output should contain:
Contract violation for argument
Last published almost 6 years ago by philoserf.