OSDN Git Service

tests: avoid relatively harmless new "make syntax-check" failure
authorJim Meyering <meyering@redhat.com>
Fri, 3 Feb 2012 15:38:25 +0000 (16:38 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 3 Feb 2012 15:44:36 +0000 (16:44 +0100)
* tests/t0209-gpt-pmbr_boot.sh: Reverse compare arguments.

tests/t0209-gpt-pmbr_boot.sh

index b15cc9c..d62d1cd 100755 (executable)
@@ -26,7 +26,7 @@ dd if=/dev/null of=$dev bs=1 seek=$N || framework_failure
 # create a GPT partition table
 parted -s $dev mklabel gpt > out 2>&1 || fail=1
 # expect no output
-compare out /dev/null || fail=1
+compare /dev/null out || fail=1
 
 # Set the pmbr_boot flag on the PMBR
 parted -s $dev disk_set pmbr_boot on