diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-10-22 14:24:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 14:24:56 +0300 |
commit | 01c970f73fddc87380e5514d9fb85c6429fae7f8 (patch) | |
tree | 7bdd311b5c6c6ef2ab694b4563f91797314bbcab /include/tests_crypto | |
parent | 749319c188cb7eaad63012c62c0493170f6394ac (diff) | |
parent | ae7be7599ed6d5e98a68fb537e0d8f61375fbedb (diff) |
Merge pull request #1044 from delscate/master
Fix wc and head cmd when using busybox
Diffstat (limited to 'include/tests_crypto')
-rw-r--r-- | include/tests_crypto | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_crypto b/include/tests_crypto index 4885fab0..af63d21a 100644 --- a/include/tests_crypto +++ b/include/tests_crypto @@ -245,7 +245,7 @@ if [ ${SKIPTEST} -eq 0 ]; then LogText "Test: looking for ${ROOTDIR}sys/class/misc/hw_random/rng_current" if [ -f "${ROOTDIR}sys/class/misc/hw_random/rng_current" ]; then - DATA=$(${HEADBINARY} --lines=1 ${ROOTDIR}sys/class/misc/hw_random/rng_current | ${TRBINARY} -d '[[:cntrl:]]') + DATA=$(${HEADBINARY} -n 1 ${ROOTDIR}sys/class/misc/hw_random/rng_current | ${TRBINARY} -d '[[:cntrl:]]') if [ "${DATA}" != "none" ]; then LogText "Result: positive match, found RNG: ${DATA}" if IsRunning "rngd"; then |