OSDN Git Service

tests: use "compare exp out", not "compare out exp"
[android-x86/external-parted.git] / tests / t0001-tiny.sh
index c6434e4..af852e6 100755 (executable)
@@ -37,7 +37,7 @@ for opt in '' -s; do
   # When run as root, there are just curses-related control chars. Remove them.
   sed 's/^.\{1,12\}$//;/^$/d' out > k && mv k out \
       || fail=1
-  compare out /dev/null || fail=1
+  compare /dev/null out || fail=1
 
   parted -s $dev p || fail=1
   rm -f $dev