ceph/qa/workunits/suites/fsync-tester.sh
Greg Farnum a850514838 fsync-tester: print info about PATH and locations of lsof lookup
We're seeing the lsof invocation fail (as not found) in testing and nobody can
identify why. Since attempting to reproduce the issue has not worked, this
patch will gather data from a genuinely in-vitro location.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-02-09 22:30:24 -08:00

13 lines
142 B
Bash
Executable File

#!/bin/sh -x
set -e
wget http://ceph.com/qa/fsync-tester.c
gcc fsync-tester.c -o fsync-tester
./fsync-tester
echo $PATH
whereis lsof
lsof