about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-02-09T14·03+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-02-09T14·03+0000
commitd159ea1b7ec007fa5e4d4bef540453c9c09c3984 (patch)
treebd309647f0b98c5a65d90169ba6b1d9b0650a8dd /tests
parent3087b3f7513ce713e0b759f63b9a4e9142e46f82 (diff)
* Urgh, FreeBSD doesn't have a "seq" command.
Diffstat (limited to 'tests')
-rw-r--r--tests/binary-patching.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/binary-patching.nix b/tests/binary-patching.nix
index 0de3028bd64d..8ed474d1f27f 100644
--- a/tests/binary-patching.nix
+++ b/tests/binary-patching.nix
@@ -7,9 +7,9 @@ mkDerivation {
   builder = builtins.toFile "builder.sh"
     ''
       mkdir $out
-      seq 1 1000000 > $out/foo
+      (for ((n = 1; n < 100000; n++)); do echo $n; done) > $out/foo
       ${if version != 1 then ''
-        seq 1000000 1010000 >> $out/foo
+        (for ((n = 100000; n < 110000; n++)); do echo $n; done) >> $out/foo
       '' else ""}
       ${if version == 3 then ''
         echo foobar >> $out/foo