[libgsf] The BSD version of dd uses lower case units, while the Linux version uses upper case. For compatibil



commit 93dd5745967a56ed9e799cd59eae17e5bef57825
Author: Morten Welinder <terra gnome org>
Date:   Fri Jun 3 20:27:46 2016 -0400

    The BSD version of dd uses lower case units, while the Linux version
    uses upper case. For compatibility with both use bytes.
    
    From: =?UTF-8?q?Felix=20Bu=CC=88nemann?= <buenemann louis info>

 NEWS                     |    3 +++
 tests/t1003-zip-noise.pl |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index e03611c..5a37456 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 libgsf 1.14.38
 
+Felix B�nemann:
+       * BSD compatibility for test.
+
 --------------------------------------------------------------------------
 libgsf 1.14.37
 
diff --git a/tests/t1003-zip-noise.pl b/tests/t1003-zip-noise.pl
index 46b4a78..5109756 100755
--- a/tests/t1003-zip-noise.pl
+++ b/tests/t1003-zip-noise.pl
@@ -8,6 +8,6 @@ use FileHandle;
 
 my $noise = 'noise.bin';
 &LibGsfTest::junkfile ($noise);
-system ("dd", "if=/dev/urandom", "of=$noise", "bs=1M", "count=10");
+system ("dd", "if=/dev/urandom", "of=$noise", "bs=1048576", "count=10");
 &test_zip ('files' => [$noise],
           'zip-member-tests' => ['!zip64']);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]