3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/fwup/fix-testrunner-darwin.patch

26 lines
699 B
Diff
Raw Normal View History

2017-04-01 18:38:40 +01:00
diff --git a/tests/common-orig.sh b/tests/common.sh
index 1f2673f..79dcf74 100755
--- a/tests/common-orig.sh
+++ b/tests/common.sh
@@ -21,20 +21,6 @@ else
fi
case "$HOST_OS" in
- Darwin)
- # BSD stat
- STAT_FILESIZE_FLAGS="-f %z"
-
- # Not -d?
- BASE64_DECODE=-D
-
- READLINK=/usr/local/bin/greadlink
- [ -e $READLINK ] || ( echo "Please run 'brew install coreutils' to install greadlink"; exit 1 )
- [ -e /usr/local/bin/mdir ] || ( echo "Please run 'brew install mtools' to install mdir"; exit 1 )
-
- FSCK_FAT=fsck_msdos
- TIMEOUT=gtimeout
- ;;
FreeBSD|NetBSD|OpenBSD|DragonFly)
# BSD stat
STAT_FILESIZE_FLAGS="-f %z"