public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [RFC] shell wrappers for tst_checkpoint
@ 2016-06-01 14:34 Stanislav Kholmanskikh
  2016-06-01 14:34 ` [LTP] [RFC PATCH 1/2] a draft for tst_checkpoint shell wrappers Stanislav Kholmanskikh
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Stanislav Kholmanskikh @ 2016-06-01 14:34 UTC (permalink / raw)
  To: ltp

Hi!

There is a need to use the tst_checkpoint interface from shell, but
we don't have wrappers for it (yet).

Patch 1 of the series contains one possible implementation for that,
patch 2 - an example of usage in the context of the memcg_functional test case.

I'd like to get some feedback from LTP users.

My primary concern is about two issues:

1. The new test API for C is cool and takes the responsibility on
   maintaining the infrastructure for tst_checkpoint. However, I couldn't find
   a way to implement something similar in shell, so I switched back to using
   two separate functions for that - TST_CHECKPOINT_SETUP, TST_CHECKPOINT_CLEANUP.

   There may be a better way...

2. What is the best location for the new supplemental binaries (tst_checkpoint_wait,
tst_checkpoint_wake)? tools/apicmds/ltpapicmd.c or separate source files in
testcases/lib/ (similar to tst_sleep)?

Thanks.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-06-06  8:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-01 14:34 [LTP] [RFC] shell wrappers for tst_checkpoint Stanislav Kholmanskikh
2016-06-01 14:34 ` [LTP] [RFC PATCH 1/2] a draft for tst_checkpoint shell wrappers Stanislav Kholmanskikh
2016-06-01 14:34 ` [LTP] [RFC PATCH 2/2] An example of usage of " Stanislav Kholmanskikh
2016-06-01 15:12   ` Cyril Hrubis
2016-06-01 15:03 ` [LTP] [RFC] shell wrappers for tst_checkpoint Cyril Hrubis
2016-06-02 14:58   ` Stanislav Kholmanskikh
2016-06-06  8:40     ` Cyril Hrubis
2016-06-02  7:58 ` Jan Stancek
2016-06-02  8:20   ` Stanislav Kholmanskikh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox