1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 18:34:41 +00:00
nixpkgs/pkgs/tools/misc/fwup/fix-testrunner-darwin.patch
2017-05-13 18:22:10 +01:00

26 lines
699 B
Diff

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"