X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Flibrary.at;h=8aeec482fe396536a87d6af9000d0f862f5dc76d;hb=c5cf10598f8c9f4428291e9df3ecd72a05fb1ccf;hp=f84a55b31f6f1251a66ff5d7452afc055b4ba9e8;hpb=31a3fc6e3e9ce68d8bfebf65150d9455b9334dda;p=sliver-openvswitch.git diff --git a/tests/library.at b/tests/library.at index f84a55b31..8aeec482f 100644 --- a/tests/library.at +++ b/tests/library.at @@ -2,44 +2,44 @@ AT_BANNER([library unit tests]) AT_SETUP([test flow extractor]) AT_CHECK([$PERL `which flowgen.pl` >/dev/null 3>flows 4>pcap]) -AT_CHECK([test-flows . We do not have a workaround dnl for other platforms, so we skip the test there. AT_SETUP([test unix socket, long pathname - C]) -AT_SKIP_IF([test ! -d /proc/self/fd]) dnl Linux has a 108 byte limit; this is 150 bytes long. longname=012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 mkdir $longname cd $longname -AT_CHECK([test-unix-socket ../$longname/socket socket]) +AT_CHECK([ovstest test-unix-socket ../$longname/socket socket]) AT_CLEANUP AT_SETUP([test unix socket, short pathname - Python]) @@ -153,7 +156,6 @@ dnl a directory fd using /proc/self/fd/. We do not have a workaround dnl for other platforms, so we skip the test there. AT_SETUP([test unix socket, long pathname - Python]) AT_SKIP_IF([test $HAVE_PYTHON = no]) -AT_SKIP_IF([test ! -d /proc/self/fd]) dnl Linux has a 108 byte limit; this is 150 bytes long. longname=012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 mkdir $longname @@ -163,7 +165,7 @@ AT_CLEANUP AT_SETUP([ovs_assert]) OVS_LOGDIR=`pwd`; export OVS_LOGDIR -AT_CHECK([test-util -voff -vfile:info '-vPATTERN:file:%c|%p|%m' --log-file assert || kill -l $?], +AT_CHECK([ovstest test-util -voff -vfile:info '-vPATTERN:file:%c|%p|%m' --log-file assert || kill -l $?], [0], [ABRT ], [stderr]) @@ -179,3 +181,7 @@ AT_CHECK([sed 's/.*: // ]) AT_CLEANUP + +AT_SETUP([snprintf]) +AT_CHECK([ovstest test-util snprintf]) +AT_CLEANUP