test bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Is this expected behavior?

$ cd /tmp
$ mkdir foo
$ cd foo/
$ touch a
$ /usr/bin/test a -nt b; echo $?
0
$ /bin/bash -c 'test a -nt b; echo $?'
0
$ /bin/dash -c 'test a -nt b; echo $?'
1

Thanks,
Yuriy
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux