s4/ldb: fix shell syntax error in test script