RIAPS / riaps-tests

Repository for code used to test the RIAPS platform
Apache License 2.0
0 stars 1 forks source link

testLimitSpace designed to write outside of application space #15

Closed MMetelko closed 1 year ago

MMetelko commented 5 years ago

Now that apparmor is on for the BBBs during testing. Any file written by an application must remain within the application space (/riaps/home/riaps_apps/). The testLimitSpace test is currently designed to writing into /tmp/. Due to this, the apparmor prevents the writing of the file and this test fails to write over the space quoto limit. So, this test in not currently testing the resource management as intended, but is instead testing the success of apparmor limitations on the riaps_actor process. This test should be redesigned to write into the application folder.