* use ../Makefile as a source for random bootcode data instead of /dev/urandom which might not exist
Signed-off-by: Petr Uzel <[email protected]> --- tests/t0202-gpt-pmbr.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/t0202-gpt-pmbr.sh b/tests/t0202-gpt-pmbr.sh index 2c365c2..0143b70 100755 --- a/tests/t0202-gpt-pmbr.sh +++ b/tests/t0202-gpt-pmbr.sh @@ -23,7 +23,7 @@ test_description='Preserve first 446B of the Protected MBR for gpt partitions.' dev=loop-file test_expect_success \ 'Create a 100k test file with random content' \ - 'dd if=/dev/urandom of=$dev bs=1c count=446 && + 'dd if=../Makefile of=$dev bs=1c count=446 && dd if=/dev/zero of=$dev bs=1c seek=446 count=101954 > /dev/null 2>&1' test_expect_success \ -- 1.6.3.3 -- Best regards / s pozdravem Petr Uzel, openSUSE Community Multiplier Team ----------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: [email protected] Lihovarská 1060/12 http://www.suse.cz 190 00 Prague 9, CR
pgpNIgzLV03Db.pgp
Description: PGP signature
_______________________________________________ parted-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/parted-devel

