@@ -236,8 +236,6 @@ struct tst_test {
unsigned int mnt_flags;
void *mnt_data;
- /* override default timeout per test run, disabled == -1 */
- int timeout;
/*
* Maximal test runtime in seconds.
*
@@ -333,9 +331,7 @@ const char *tst_strsig(int sig);
*/
const char *tst_strstatus(int status);
-unsigned int tst_timeout_remaining(void);
unsigned int tst_multiply_timeout(unsigned int timeout);
-void tst_set_timeout(int timeout);
/*
* Returns remaining test runtime. Test that runs for more than a few seconds
@@ -1471,12 +1471,6 @@ static void sigint_handler(int sig LTP_ATTRIBUTE_UNUSED)
}
}
-unsigned int tst_timeout_remaining(void)
-{
- tst_brk(TBROK, "Stub called!");
- return 0;
-}
-
unsigned int tst_remaining_runtime(void)
{
static struct timespec now;
@@ -1509,11 +1503,6 @@ unsigned int tst_multiply_timeout(unsigned int timeout)
return timeout * timeout_mul;
}
-void tst_set_timeout(int timeout)
-{
- tst_brk(TBROK, "Stub called!");
-}
-
static void set_timeout(void)
{
unsigned int timeout = DEFAULT_TIMEOUT;
Signed-off-by: Cyril Hrubis <chrubis@suse.cz> --- include/tst_test.h | 4 ---- lib/tst_test.c | 11 ----------- 2 files changed, 15 deletions(-)