parted/0122-tests-use-test-s-operator-not.patch
Brian C. Lane 73aa139585 - Rebase on parted master commit 1da239e2ebd2
- libparted: Fix bug with dupe and empty name
2014-06-13 09:52:56 -07:00

27 lines
843 B
Diff

From 1da239e2ebd260efa1b9dce9e19127b6bd4bb906 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@fb.com>
Date: Wed, 28 May 2014 08:56:31 -0700
Subject: [PATCH 122/125] tests: use test's "=" operator, not "=="
* tests/t1700-probe-fs.sh: Avoid "make syntax-check" error: s/==/=/
---
tests/t1700-probe-fs.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/t1700-probe-fs.sh b/tests/t1700-probe-fs.sh
index c2c9706..574d6fe 100755
--- a/tests/t1700-probe-fs.sh
+++ b/tests/t1700-probe-fs.sh
@@ -40,7 +40,7 @@ for type in ext2 ext3 ext4 btrfs xfs nilfs2 ntfs vfat hfsplus; do
esac
# create an $type file system
- if [ "$type" == "xfs" ]; then
+ if [ "$type" = "xfs" ]; then
# Work around a problem with s390
mkfs.xfs -ssize=$ss -dfile,name=$dev,size=${n_sectors}s || fail=1
else
--
1.9.3