a:3:{s:7:"#markup";O:25:"Drupal\Core\Render\Markup":1:{s:9:"*string";s:2616:"<span property="schema:name">Running Yaffs Direct Tests</span>

      <div class="field field--name-upload field--type-file field--label-hidden field--items">
              <div class="field--item"><span class="file file--mime-application-pdf file--application-pdf icon-before"><span class="file-icon"><span class="icon glyphicon glyphicon-file text-primary" aria-hidden="true"></span></span><span class="file-link"><a href="https://yaffs.net/sites/default/files/downloads/YaffsDirectTests.pdf" type="application/pdf; length=53457" title="Open file in new window" target="_blank" data-toggle="tooltip" data-placement="bottom">YaffsDirectTests.pdf</a></span><span class="file-size">52.2 KB</span></span></div>
          </div>
  
            <div property="schema:text" class="field field--name-body field--type-text-with-summary field--label-hidden field--item">
<p>&nbsp;</p>
<h2>1 Background</h2>
<p>This document is intended to provide a outline to the various tests that are incorporated into Yaffs Direct. Most of these tests were written as debug tools to test error response by various Yaffs functions. These and others can be used to check if Yaffs is working properly.</p>
<h2>2 Running the tests</h2>
<p>All of the test directories should have a Makefile. Run it to compile the test. The Readme.txt file should tell you how to run the tests.</p>
<h2>3 Tests</h2>
<ul>
<li>
<p>is_yaffs_working_tests folder contains a the tests related to simply seeing if yaffs is working. There is only one test at the moment, test_1_yaffs_mount.c, which tests if yaffs will mount, create a file and be able to read the file after remounting.</p>
 </li>
<li>
<p>stress_tester folder contains yaffs_tester.c which stress tests yaffs by opening and closing files at random. This test will run forever (or until it crashes).</p>
 </li>
<li>
<p>handle_tests folder contains the test handle_tests.c which just creates files and duplicates the file handle.</p>
 </li>
<li>
<p>The yaffs_and_linux_mirror_tests folder runs a yaffs operation and then compares the response the same command run under linux. This test is used to check that yaffs responds in expected manner with respect to linux.</p>
 </li>
<li>
<p>quick_tests folder contains the quick_test which tests almost all of yaffs functions' error handling and error codes.</p>
 </li>
<li>
<p>The threading folder contains the test_threading.c which tests the thread locking ability of yaffs.</p>
 </li>
</ul>
<p>&nbsp;</p>
<p>The folder linux_tests contains the linux_test.c test which tests yaffs running under linux using the nandsim generator. &nbsp;</p>
</div>
      ";}s:9:"#attached";a:0:{}s:6:"#cache";a:3:{s:8:"contexts";a:4:{i:0;s:28:"languages:language_interface";i:1;s:5:"theme";i:2;s:17:"url.path.is_front";i:3;s:16:"user.permissions";}s:4:"tags";a:4:{i:0;s:30:"config:filter.format.full_html";i:1;s:7:"file:82";i:2;s:8:"node:454";i:3;s:9:"node_view";}s:7:"max-age";i:-1;}}