1. 07 9月, 2015 1 次提交
  2. 09 8月, 2014 3 次提交
    • L
      test:dfu: README file update · 50a35321
      Lukasz Majewski 提交于
      Signed-off-by: NLukasz Majewski <l.majewski@samsung.com>
      50a35321
    • S
      test: dfu: script enhancements · 7ad67e55
      Stephen Warren 提交于
      Various misc enhancements to dfu_gadget_test.sh:
      
      * After every write (download), perform a write to a different file
        with different data. This ensures that the DFU buffer's content is
        replaced, so that if the read (upload) succeeds, we know that the
        correct data was actually read from the storage device, rather than
        simply being left over in the DFU buffer. This requires two alt
        setting names to be passed to the script, and a dummy data file to
        be generated by dfu_gadget_test_init.sh.
      
      * Fix the assumption that dfu_gadget_test.sh is run from the directory
        that contains it, by cd'ing to that directory before invoking
        ./dfu_gadget_test_init.sh.
      
      * Use $DIR$RCV_DIR consistently, rather than using plain $RCV_DIR in
        some places.
      
      * Add 959, 961 test file sizes, to be consistent with having one
        more than and one less than all the other "round" sizes 64, 128, and
        4096.
      
      * Remove references to $BKP_DIR from dfu_gadget_test_init.sh, since it
        isn't used.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      7ad67e55
    • L
      test:dfu: Add test scripts for testing DFU regression · a4c86bbb
      Lukasz Majewski 提交于
      This commit adds test scripts for testing if any commit has introduced
      regression to the DFU subsystem.
      
      It uses md5 to test if sent and received file is correct.
      The test detailed description is available at README file.
      Signed-off-by: NLukasz Majewski <l.majewski@samsung.com>
      a4c86bbb