test_libvirt:LibvirtUtilsTestCase.test_get_fs_info fails on Mac OS X
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Lorin Hochstein |
Bug Description
test_libvirt:
$ ./run_tests.sh test_libvirt:
LibvirtUtilsTes
test_
=======
ERROR: test_get_fs_info (nova.tests.
-------
Traceback (most recent call last):
File "/Users/
stdout, stderr = utils.execute('df', '-B1', '/tmp')
File "/Users/
cmd=' '.join(cmd))
ProcessExecutio
Command: df -B1 /tmp
Exit code: 64
Stdout: ''
Stderr: 'df: illegal option -- B\nusage: df [-b | -H | -h | -k | -m | -g | -P] [-ailn] [-T type] [-t] [filesystem ...]\n'
Changed in nova: | |
milestone: | none → essex-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
assignee: | nobody → Lorin Hochstein (lorinh) |
Changed in nova: | |
milestone: | essex-2 → 2012.1 |
Note that you can't set a blocksize of 1 with df on OS X at all:
$ BLOCKSIZE=1 df /tmp
df: minimum blocksize is 512
df: minimum blocksize is 512
Filesystem 512-blocks Used Available Capacity Mounted on
/dev/disk1 974803248 289149696 685141552 30% /