diff --git a/test/aufile.c b/test/aufile.c index 52e8f55e92..ab21cf5d1c 100644 --- a/test/aufile.c +++ b/test/aufile.c @@ -23,6 +23,9 @@ int test_aufile_duration(void) err = ausrc_alloc(&ausrc, baresip_ausrcl(), "aufile", &prm, "../share/message.wav", NULL, NULL, NULL); + if (err) + err = ausrc_alloc(&ausrc, baresip_ausrcl(), "aufile", + &prm, "share/message.wav", NULL, NULL, NULL); TEST_ERR(err); ASSERT_EQ(787, prm.duration); ASSERT_EQ(1, prm.ch);