OSDN Git Service
(root)
/
android-x86
/
external-parted.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
311e9a7
)
tests: minor fix; add/adjust comments
author
Jim Meyering
<meyering@redhat.com>
Tue, 10 May 2011 09:37:06 +0000
(11:37 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Tue, 10 May 2011 12:52:59 +0000
(14:52 +0200)
* tests/t1101-busy-partition.sh: Don't ignore failed comparison.
Add a comment.
tests/t1101-busy-partition.sh
patch
|
blob
|
history
diff --git
a/tests/t1101-busy-partition.sh
b/tests/t1101-busy-partition.sh
index
b8dab44
..
f7aab83
100755
(executable)
--- a/
tests/t1101-busy-partition.sh
+++ b/
tests/t1101-busy-partition.sh
@@
-54,12
+54,13
@@
mount_point=$(pwd)/mnt
mkdir $mount_point || fail=1
mount "${dev}2" "$mount_point" || fail=1
-#
removal of unmounted partition, must work
.
+#
Removal of unmounted partition must succeed
.
parted -s "$dev" rm 1 > out 2>&1 || fail=1
+# Removal of mounted partition must fail.
parted -s "$dev" rm 2 > out 2>&1 && fail=1
# expect error
-compare out exp-error
+compare out exp-error
|| fail=1
Exit $fail