blob: c7c94cbff3f50adb48b26997095656e0bf92d9e2 [file] [log] [blame]
Mike Frysingerc7f15932013-03-20 13:43:35 -04001#!/usr/bin/python
asharif758f12c2013-02-15 09:11:18 +00002#
3# Copyright 2010 Google Inc. All Rights Reserved.
4
Luis Lozanof2a3ef42015-12-15 13:49:30 -08005__author__ = 'asharif@google.com (Ahmad Sharif)'
asharif758f12c2013-02-15 09:11:18 +00006
7import optparse
8import os
9import re
10import sys
kbaclawski20082a02013-02-16 02:12:57 +000011
asharif758f12c2013-02-15 09:11:18 +000012from utils import command_executer
asharif758f12c2013-02-15 09:11:18 +000013
14
15def Usage(parser, message):
Luis Lozanof2a3ef42015-12-15 13:49:30 -080016 print 'ERROR: ' + message
asharif758f12c2013-02-15 09:11:18 +000017 parser.print_help()
18 sys.exit(0)
19
Luis Lozanof2a3ef42015-12-15 13:49:30 -080020
asharif758f12c2013-02-15 09:11:18 +000021def Main(argv):
22 parser = optparse.OptionParser()
23 options = parser.parse_args(argv)[0]
24
Luis Lozanof2a3ef42015-12-15 13:49:30 -080025 command = 'sleep 1000'
asharif758f12c2013-02-15 09:11:18 +000026 ce = command_executer.GetCommandExecuter()
27 ce.RunCommand(command, command_timeout=1)
28 return 0
29
30
Luis Lozanof2a3ef42015-12-15 13:49:30 -080031if __name__ == '__main__':
asharif758f12c2013-02-15 09:11:18 +000032 Main(sys.argv)