Signed-off-by: Ben Pfaff <b...@nicira.com> --- tests/library.at | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tests/library.at b/tests/library.at index 3334d23..4afd913 100644 --- a/tests/library.at +++ b/tests/library.at @@ -126,7 +126,8 @@ dnl for other platforms, so we skip the test there. AT_SETUP([test unix socket -- long pathname]) AT_SKIP_IF([test ! -d /proc/self/fd]) dnl Linux has a 108 byte limit; this is 150 bytes long. -mkdir 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 -cd 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 -AT_CHECK([test-unix-socket ../012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789/socket socket]) +longname=012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 +mkdir $longname +cd $longname +AT_CHECK([test-unix-socket ../$longname/socket socket]) AT_CLEANUP -- 1.7.10.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev