Code

integration tests: Make sure test_lib always knows about the socket file.
[sysdb.git] / t / integration / test_lib.sh
index 496c02f7f27ee1c72b9b7ac2ffc213912d80161a..0cc1931770d15bb0b86a46c6a9f6ad23d3b479d1 100644 (file)
@@ -76,9 +76,6 @@ function stop_sysdbd() {
 function wait_for_sysdbd() {
        local socket="$SOCKET_FILE"
        local i
-       if test -n "$1"; then
-               socket="$1"
-       fi
        for (( i=0; i<10; i++ )); do
                if test -e "$socket"; then
                        break