aboutsummaryrefslogtreecommitdiffstats
path: root/test_.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtest_.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/test_.lua b/test_.lua
index 452f4c9..a589a00 100755
--- a/test_.lua
+++ b/test_.lua
@@ -41,8 +41,8 @@ local options =
41 _.killEmAll{'jmcore', 'qjackctl'} 41 _.killEmAll{'jmcore', 'qjackctl'}
42 -- Catia is python, and no easy way to kill it. 42 -- Catia is python, and no easy way to kill it.
43 -- Also it keeps jackdbus alive, no matter how hard you kill it. 43 -- Also it keeps jackdbus alive, no matter how hard you kill it.
44 __"pkill -TERM -u $USER -f catia":Do() 44 __'pkill -TERM -u $USER -f catia':Do()
45 __"sleep 2":Do() 45 __'sleep 2':Do()
46 _.killEmAll{'jackdbus', 'a2jmidid'} 46 _.killEmAll{'jackdbus', 'a2jmidid'}
47]=] 47]=]
48 end 48 end
@@ -51,10 +51,10 @@ local options =
51options['restart'] = options['start'] 51options['restart'] = options['start']
52options['force-reload'] = options['start'] 52options['force-reload'] = options['start']
53 53
54print("start = " .. options.start.value) 54print('start = ' .. options.start.value)
55_.parse(arg, options, 'test_') 55_.parse(arg, options, 'test_')
56print("start = " .. options.start.value) 56print('start = ' .. options.start.value)
57print("stop = " .. options.stop.value) 57print('stop = ' .. options.stop.value)
58 58
59 59
60 60
@@ -112,7 +112,7 @@ print(__[[#!/usr/bin/tcc -run
112print('') 112print('')
113 113
114__[[#!/usr/bin/env luajit 114__[[#!/usr/bin/env luajit
115 print('Hello ' .. "world " .. [=[from]=] .. " Lua.") 115 print('Hello ' .. "world " .. [=[from]=] .. ' Lua.')
116]]:log():show():Do() 116]]:log():show():Do()
117print('') 117print('')
118 118