diff options
author | Mattias Andrée <maandree@kth.se> | 2016-03-30 20:29:09 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-03-30 20:29:09 +0200 |
commit | 8e47c389e81dd32e020d3739a3d9439beaad37d6 (patch) | |
tree | f13c99b666fa8f8236ff88de10d211c80bc2142b /cat-test | |
parent | add printenv test (diff) | |
download | base-util-tests-8e47c389e81dd32e020d3739a3d9439beaad37d6.tar.gz base-util-tests-8e47c389e81dd32e020d3739a3d9439beaad37d6.tar.bz2 base-util-tests-8e47c389e81dd32e020d3739a3d9439beaad37d6.tar.xz |
some improvements
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'cat-test')
-rwxr-xr-x | cat-test/test | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cat-test/test b/cat-test/test index 1a3d3b3..9005dd1 100755 --- a/cat-test/test +++ b/cat-test/test @@ -72,7 +72,10 @@ uflag () touch tmp2; rm tmp2 ( printf 123 - sleep 0.1 + python3 <<EOF +import time +time.sleep(0.1) +EOF cat tmp > tmp1 ) | $c -u > tmp printf 123 > tmp2 @@ -84,7 +87,7 @@ uflag () if test $# = 0; then - set $(printf 'file_%i\n' $(seq 1 $N)) dash dash_many file_one file_many file_dash ddash uflag + set $(printf 'file_%i\n' $(seq $N)) dash dash_many file_one file_many file_dash ddash uflag fi ( for f in $@; do |