From 59825214f3905ac109888f632668facd19a9e947 Mon Sep 17 00:00:00 2001 From: Olof Hagsand Date: Mon, 21 Oct 2019 20:11:00 +0100 Subject: [PATCH] typos --- configure.ac | 4 ++-- test/test_perf.sh | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index eff14823..383af866 100644 --- a/configure.ac +++ b/configure.ac @@ -226,8 +226,8 @@ AC_CHECK_FUNCS(inet_aton sigaction sigvec strlcpy strsep strndup alphasort versi # Checks for getsockopt options for getting unix socket peer credentials on # Linux -AC_TRY_COMPILE([#include ], [getsockopt(1, SOL_SOCKET, SO_PEERCRED, 0, 0);], [AC_DEFINE(HAVE_SO_PEERCRED, 1, [Have getsockopt peercred]) -AC_MSG_RESULT(Have getsockopt peercred)]) +AC_TRY_COMPILE([#include ], [getsockopt(1, SOL_SOCKET, SO_PEERCRED, 0, 0);], [AC_DEFINE(HAVE_SO_PEERCRED, 1, [Have getsockopt SO_PEERCRED]) +AC_MSG_RESULT(Have getsockopt SO_PEERCRED)]) # YANG_INSTALLDIR is where clixon installs the Clixon yang files # (the files in in yang/clixon) diff --git a/test/test_perf.sh b/test/test_perf.sh index 6de50414..01447953 100755 --- a/test/test_perf.sh +++ b/test/test_perf.sh @@ -98,12 +98,11 @@ echo "]]>]]>" >> $fconfig # Now take large config file and write it via netconf to candidate new "netconf write large config" - expecteof_file "time $clixon_netconf -qf $cfg" 0 "$fconfig" "^]]>]]>$" # Here, there are $perfnr entries in candidate new "netconf write large config again" -expecteof_file "time -f %e $clixon_netconf -qf $cfg" 0 "$fconfig" "^]]>]]>$" +expecteof_file "time $clixon_netconf -qf $cfg" 0 "$fconfig" "^]]>]]>$" # Now commit it from candidate to running new "netconf commit large config"