projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge tag 'v3.14.25' into backport/v3.14.24-ltsi-rc1+v3.14.25/snapshot-merge.wip
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
staging
/
ktap
/
test
/
arg.kp
1
#!/usr/bin/env ktap
2
3
function failed() {
4
printf("failed\n");
5
exit(-1);
6
}
7
8
#-----------------------------------------#
9
10
if (!arg[0]) {
11
failed()
12
}
13
14
if (arg[1] != 1) {
15
failed()
16
}
17
18
if (arg[2] != "testing") {
19
failed()
20
}
21
22
if (arg[3] != "2 3 4") {
23
failed()
24
}