From 085a0daa95022ab6bed754f09b0362d69c9cef8c Mon Sep 17 00:00:00 2001 From: age Date: Sun, 17 Feb 2008 14:22:33 +0000 Subject: [PATCH] * reduced size for test partitions --- src/cryptobox/tests/tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cryptobox/tests/tools.py b/src/cryptobox/tests/tools.py index ddb201f..b376604 100644 --- a/src/cryptobox/tests/tools.py +++ b/src/cryptobox/tests/tools.py @@ -95,7 +95,8 @@ def prepare_partition(blockdevice): stdout = subprocess.PIPE, stderr = subprocess.PIPE, args = [ '/sbin/sfdisk', blockdevice ]) - proc.stdin.write(",50,0xC\n,50,L\n") + # create two partitions (20MB fat, 20MB ext) + proc.stdin.write(",10,0xC\n,10,L\n") (output, error) = proc.communicate() if proc.returncode != 0: raise Exception, "could not partition the device (%s): %s" \