diff options
author | Rob Landley <rob@landley.net> | 2020-05-13 01:32:21 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-05-13 01:32:21 -0500 |
commit | 4c320bfbbba9842c93ac5807bc8cbefbfff429b6 (patch) | |
tree | 2c4f91f10d74026502156474f5a97ad3d043027a /tests | |
parent | ce67bb5ac850f188e1325d59530d2d91dfdcea68 (diff) | |
download | toybox-4c320bfbbba9842c93ac5807bc8cbefbfff429b6.tar.gz |
More TEST_HOST failures.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cksum.test | 8 | ||||
-rwxr-xr-x | tests/cp.test | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/cksum.test b/tests/cksum.test index d69f0cb4..10478bc7 100755 --- a/tests/cksum.test +++ b/tests/cksum.test @@ -17,13 +17,13 @@ rm -f one two # Check the length suppression, both calculate the CRC on 'abc' but the second # option has length suppression on and has the length concatenated to 'abc'. testing "on abc including length" "cksum" "1219131554 3\n" "" 'abc' -testing "on abc excluding length" "cksum -N" "1219131554\n" "" 'abc\x3' +toyonly testing "on abc excluding length" "cksum -N" "1219131554\n" "" 'abc\x3' # cksum on no contents gives 0xffffffff (=4294967295) testing "on no data post-inversion" "echo -n "" | cksum" "4294967295 0\n" "" "" # If we do preinversion we will then get 0. -testing "on no data pre+post-inversion" "echo -n "" | cksum -P" "0 0\n" "" "" +toyonly testing "on no data pre+post-inversion" "echo -n "" | cksum -P" "0 0\n" "" "" # If we skip the post-inversion we also get 0 -testing "on no data no inversion" "echo -n "" | cksum -I" "0 0\n" "" "" +toyonly testing "on no data no inversion" "echo -n "" | cksum -I" "0 0\n" "" "" # Two wrongs make a right. -testing "on no data pre-inversion" "echo -n "" | cksum -PI" "4294967295 0\n" "" "" +toyonly testing "on no data pre-inversion" "echo -n "" | cksum -PI" "4294967295 0\n" "" "" diff --git a/tests/cp.test b/tests/cp.test index 5c4a7474..c095aad2 100755 --- a/tests/cp.test +++ b/tests/cp.test @@ -123,7 +123,7 @@ rm b file mkdir -p b/c/d/ mkdir a/ echo a > b/c/d/file -testing "-D b/c/d/file a/" "cp -D b/c/d/file a/ && cat a/b/c/d/file" "a\n" "" "" +testing "--parents b/c/d/file a/" "cp --parents b/c/d/file a/ && cat a/b/c/d/file" "a\n" "" "" rm -rf a/ rm -rf b/ |