Well then this is the problem. It should print 1 if the file does not exist.
Can you do the following: strace -o cifs-strace.txt bash -c '[ -f ./makefile ]'
And attach the resulting cifs-strace.txt to this bug? Maybe this tells us what's the problem. I suspect it's a bug in the CIFS filesystem driver.
Well then this is the problem. It should print 1 if the file does not exist.
Can you do the following:
strace -o cifs-strace.txt bash -c '[ -f ./makefile ]'
And attach the resulting cifs-strace.txt to this bug? Maybe this tells us what's the problem. I suspect it's a bug in the CIFS filesystem driver.