xfstestsdb v1.1

- Updates for recent xfstests xunit generation changes
- Fix the `xunit delete` command
- Make sure SQLite foreign_keys are always enabled

Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
This commit is contained in:
Anna Schumaker 2023-04-17 14:25:03 -04:00
parent 5d141bd436
commit 14b848bddd
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ class TestXfstestsdb(unittest.TestCase):
def test_version(self, mock_stdout: io.StringIO):
"""Test printing version information."""
self.assertEqual(xfstestsdb.MAJOR, 1)
self.assertEqual(xfstestsdb.MINOR, 0)
self.assertEqual(xfstestsdb.MINOR, 1)
self.xfstestsdb.run(["--version"])
self.assertEqual(mock_stdout.getvalue(), "xfstestsdb v1.0-debug\n")
self.assertEqual(mock_stdout.getvalue(), "xfstestsdb v1.1-debug\n")

View File

@ -13,7 +13,7 @@ from . import untag
from . import xunit
MAJOR = 1
MINOR = 0
MINOR = 1
class Command: