install go2rtc on bob
This commit is contained in:
1 parent
f0b56e63d1
commit
ccf88187b8
537 files changed
+69213
No files matched your search
@@ -0,0 +1,16 @@
|
||||
package ioctl
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func TestIOR(t *testing.T) {
|
||||
// #define SNDRV_PCM_IOCTL_INFO _IOR('A', 0x01, struct snd_pcm_info)
|
||||
if runtime.GOARCH == "arm64" {
|
||||
c := IOR('A', 0x01, 288)
|
||||
require.Equal(t, uintptr(0x81204101), c)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user