aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2019-08-18 23:14:02 +0200
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2019-08-18 23:14:02 +0200
commit523a3ec43f507b0bb6e76e9a94f78d38061278ef (patch)
tree93e35801c9085c9fe429a3638fd5c071d4503bd2
parent73fb869a4fc36f5c03dea09e16b955ff4ecc290e (diff)
downloadtermsend-523a3ec43f507b0bb6e76e9a94f78d38061278ef.tar.gz
termsend-523a3ec43f507b0bb6e76e9a94f78d38061278ef.tar.bz2
termsend-523a3ec43f507b0bb6e76e9a94f78d38061278ef.zip
tst/test-server.sh: fix invalid truncate invocation
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rwxr-xr-xtst/test-server.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tst/test-server.sh b/tst/test-server.sh
index 94e6bb2..6162802 100755
--- a/tst/test-server.sh
+++ b/tst/test-server.sh
@@ -539,7 +539,7 @@ test_timed_upload()
test_timed_upload_empty()
{
- truncate -s0 > "${data}"
+ truncate -s0 "${data}"
out="$(kurload "${data}" 0 | ${tailn} | tr "\n" ".")"
mt_fail "echo \"${out}\" | grep \"no data has been sent.\""
}