Commit 4ed3dd09 authored by Steve Beattie's avatar Steve Beattie

parser: let unix keyword accept bare send, receive keywords

Let unix keyword accept bare send, receive keywords and add more
simple unix acceptance test cases.
Signed-off-by: Steve Beattie's avatarSteve Beattie <steve@nxnw.org>
Acked-by: default avatarSeth Arnold <seth.arnold@canonical.com>
parent ab93c858
......@@ -489,7 +489,7 @@ LT_EQUAL <=
eavesdrop { RETURN_TOKEN(TOK_EAVESDROP); }
}
<DBUS_MODE,SIGNAL_MODE>{
<DBUS_MODE,SIGNAL_MODE,UNIX_MODE>{
send { RETURN_TOKEN(TOK_SEND); }
receive { RETURN_TOKEN(TOK_RECEIVE); }
}
......
#
#=DESCRIPTION simple unix accept acceptance test
#=EXRESULT PASS
profile a_profile {
unix accept,
}
#
#=DESCRIPTION simple unix accept acceptance test
#=EXRESULT PASS
profile a_profile {
unix (accept),
}
#
#=DESCRIPTION simple unix getattr acceptance test
#=EXRESULT PASS
profile a_profile {
unix getattr,
}
#
#=DESCRIPTION simple unix getattr acceptance test
#=EXRESULT PASS
profile a_profile {
unix (getattr),
}
#
#=DESCRIPTION simple unix setattr acceptance test
#=EXRESULT PASS
profile a_profile {
unix setattr,
}
#
#=DESCRIPTION simple unix setattr acceptance test
#=EXRESULT PASS
profile a_profile {
unix (setattr),
}
#
#=DESCRIPTION simple unix bind acceptance test
#=EXRESULT PASS
profile a_profile {
unix bind,
}
#
#=DESCRIPTION simple unix bind acceptance test
#=EXRESULT PASS
profile a_profile {
unix (bind),
}
#
#=DESCRIPTION simple unix connect acceptance test
#=EXRESULT PASS
profile a_profile {
unix connect,
}
#
#=DESCRIPTION simple unix connect acceptance test
#=EXRESULT PASS
profile a_profile {
unix (connect),
}
#
#=DESCRIPTION simple unix create acceptance test
#=EXRESULT PASS
profile a_profile {
unix create,
}
#
#=DESCRIPTION simple unix create acceptance test
#=EXRESULT PASS
profile a_profile {
unix (create),
}
#
#=DESCRIPTION simple unix listen acceptance test
#=EXRESULT PASS
profile a_profile {
unix listen,
}
#
#=DESCRIPTION simple unix listen acceptance test
#=EXRESULT PASS
profile a_profile {
unix (listen),
}
#
#=DESCRIPTION simple unix rule
#=EXRESULT PASS
profile a_profile {
unix,
}
#
#=DESCRIPTION simple unix send test
#=EXRESULT PASS
profile a_profile {
unix send,
}
#
#=DESCRIPTION simple unix msg test
#=EXRESULT PASS
profile a_profile {
unix receive,
}
#
#=DESCRIPTION simple unix msg test
#=EXRESULT PASS
profile a_profile {
unix r,
}
#
#=DESCRIPTION simple unix msg test
#=EXRESULT PASS
profile a_profile {
unix (r),
}
#
#=DESCRIPTION simple unix msg test
#=EXRESULT PASS
profile a_profile {
unix w,
}
#
#=DESCRIPTION simple unix msg test
#=EXRESULT PASS
profile a_profile {
unix (w),
}
#
#=DESCRIPTION simple unix msg test
#=EXRESULT PASS
profile a_profile {
unix rw,
}
#
#=DESCRIPTION simple unix msg test
#=EXRESULT PASS
profile a_profile {
unix (rw),
}
#
#=DESCRIPTION simple unix getopt acceptance test
#=EXRESULT PASS
profile a_profile {
unix getopt,
}
#
#=DESCRIPTION simple unix getopt acceptance test
#=EXRESULT PASS
profile a_profile {
unix (getopt),
}
#
#=DESCRIPTION simple unix setopt acceptance test
#=EXRESULT PASS
profile a_profile {
unix setopt,
}
#
#=DESCRIPTION simple unix setopt acceptance test
#=EXRESULT PASS
profile a_profile {
unix (setopt),
}
#
#=DESCRIPTION simple unix shutdown acceptance test
#=EXRESULT PASS
profile a_profile {
unix shutdown,
}
#
#=DESCRIPTION simple unix shutdown acceptance test
#=EXRESULT PASS
profile a_profile {
unix (shutdown),
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment