tests: make tests work in Fedora 18
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 18 Feb 2013 14:47:58 +0000 (16:47 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 18 Feb 2013 14:49:45 +0000 (16:49 +0200)
commit9cbc552051e879989c08d6d5fe5759d6429bbbee
tree59af57ab973d9bac5d77dd0877540deda0f9f6d7
parent35a93e483d7642b4319ebb2499e67e421733107f
tests: make tests work in Fedora 18

The tests create many temporary files and run FIEMAP on them. However, in
Fedora 18 the '/tmp' is tmpfs which does not support FIEMAP, so 'nosetests'
fails. Let's use the current directory for the tests instead.

Change-Id: I2cc2d402fd15517e043e38188d3046876a11cbec
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
tests/test_api_base.py
tests/test_fiemap.py