diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2020-07-12 18:39:19 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2020-07-12 18:39:19 +0200 |
commit | e7cacbbd4bb447fb57fd953248f962e535d5393e (patch) | |
tree | c63c664af957e46ccfa5f45fa56b7ee5a32a7426 /bin | |
parent | 32805fe0ed719cd7f9b722e8dab5b5a17310cbd2 (diff) |
bin:ansi_parser -> ansi_parser.py
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ansi_parser.py (renamed from bin/ansi_parser) | 0 | ||||
-rwxr-xr-x | bin/bluetooth_transfer_stress | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/ansi_parser b/bin/ansi_parser.py index c7cf26c..c7cf26c 100755 --- a/bin/ansi_parser +++ b/bin/ansi_parser.py diff --git a/bin/bluetooth_transfer_stress b/bin/bluetooth_transfer_stress index 2add0b1..36e4de7 100755 --- a/bin/bluetooth_transfer_stress +++ b/bin/bluetooth_transfer_stress @@ -35,10 +35,10 @@ dd if=/dev/urandom of=$ORIGIN count=$SIZEKB bs=1024 ORIGIN_SUM=$(sha256sum $ORIGIN | cut -f 1 -d ' ') set -o pipefail echo "Sending file using Bluetooth" -time obexftp -v -b $BTDEVADDR -o $REMOTE --put $ORIGIN 2>&1 | ansi_parser +time obexftp -v -b $BTDEVADDR -o $REMOTE --put $ORIGIN 2>&1 | ansi_parser.py sleep 5 echo "Receiving file using Bluetooth" -time obexftp -v -b $BTDEVADDR -o $DESTINATION --get $REMOTE 2>&1 | ansi_parser +time obexftp -v -b $BTDEVADDR -o $DESTINATION --get $REMOTE 2>&1 | ansi_parser.py # Now checksum destination and compare DESTINATION_SUM=$(sha256sum $DESTINATION | cut -f 1 -d ' ') # Clean up before reporting |