nixpkgs/pkgs/tools/misc/parted/t7000-scripting.patch
Ludovic Courtès 83116e4b8c GNU Parted 1.9.0.
svn path=/nixpkgs/trunk/; revision=16463
2009-07-26 21:03:52 +00:00

15 lines
573 B
Diff

This patch fixes the `t7000-scripting' test. See
http://lists.alioth.debian.org/pipermail/parted-devel/2009-June/thread.html#2887
for details.
--- parted-1.9.0/tests/t7000-scripting.sh 2009-07-23 19:52:08.000000000 +0200
+++ parted-1.9.0/tests/t7000-scripting.sh 2009-07-26 14:20:28.000000000 +0200
@@ -28,7 +28,7 @@ EOF
{ emit_superuser_warning
sed s/Error/Warning/ errS
- printf 'Is this still acceptable to you?\nYes/No?'; } >> errI || fail=1
+ printf 'Is this still acceptable to you?\nYes/No? n\n'; } >> errI || fail=1
for mkpart in mkpart mkpartfs; do