Feature: P-Store repack
  In order to save disk space
  As a user
  I want to optimize the on-disk layout of a P-Store database

  Scenario: Repack
  Given a 8K long CSV file
  When I run "pstore import"
  And I run "pstore repack --compress=none --max-extent-len=1K"
  Then the database should contain the same data in column order

Feature: P-Store repack
  In order to save disk space
  As a user
  I want to optimize the on-disk layout of a P-Store database

  Scenario: Repack
  Given a 8K long CSV file
  When I run "pstore import"
  And I run "pstore repack --compress=none --max-extent-len=1K"
  Then the database should contain the same data in column order

  Scenario: Repack after append
  Given a 16K long CSV file
  And a 16K long database
  When I run "pstore import --append --max-extent-len=1K"
  And I run "pstore repack --compress=none --max-extent-len=1K"
  Then the database should contain the same data in column order

Add scenario 'Repack after append'
features: Add scenario 'Repack after append'

Signed-off-by: Jussi Virtanen <688853f2098600ecc93a73ab459c4906661052bb@reaktor.fi>
Signed-off-by: Pekka Enberg <add4fcd06328a394f0ad91feda7ee057316dc5ed@kernel.org>
