[Parted-commits] GNU Parted Official Repository: Changes to 'master'
Jim Meyering
meyering at alioth.debian.org
Thu Apr 29 17:09:48 UTC 2010
tests/t2310-dos-extended-2-sector-min-offset.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 13f73aa1d72f46171ddfb56ff816d340564f4d5f
Author: Jim Meyering <meyering at redhat.com>
Date: Thu Apr 29 19:02:07 2010 +0200
tests: correct a root-only test
* tests/t2310-dos-extended-2-sector-min-offset.sh: Don't hard-code
"/dev/sdd5" in expected output.
diff --git a/tests/t2310-dos-extended-2-sector-min-offset.sh b/tests/t2310-dos-extended-2-sector-min-offset.sh
index 550ded4..6d4b23c 100644
--- a/tests/t2310-dos-extended-2-sector-min-offset.sh
+++ b/tests/t2310-dos-extended-2-sector-min-offset.sh
@@ -39,6 +39,7 @@ scsi_debug_setup_ dev_size_mb=1 > dev-name ||
skip_test_ 'failed to create scsi_debug device'
scsi_dev=$(cat dev-name)
p1=${scsi_dev}1
+p5=${scsi_dev}5
cat <<EOF > exp || framework_failure
BYT;
@@ -48,7 +49,7 @@ $scsi_dev:2048s:scsi:512:512:msdos:Linux scsi_debug;
EOF
cat <<EOF > err.exp || framework_failure
-Error: Error informing the kernel about modifications to partition /dev/sdd5 -- Device or resource busy. This means Linux won't know about any changes you made to /dev/sdd5 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
+Error: Error informing the kernel about modifications to partition $p5 -- Device or resource busy. This means Linux won't know about any changes you made to $p5 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
Error: Failed to add partition 5 (Device or resource busy)
EOF
More information about the Parted-commits
mailing list