Commit 48a44784 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Fix test.

parent 69795504
...@@ -6,7 +6,6 @@ import ( ...@@ -6,7 +6,6 @@ import (
"log" "log"
"path/filepath" "path/filepath"
"os" "os"
"syscall"
) )
var _ = log.Print var _ = log.Print
...@@ -149,7 +148,7 @@ func TestXAttrRead(t *testing.T) { ...@@ -149,7 +148,7 @@ func TestXAttrRead(t *testing.T) {
Removexattr(mounted, "third") Removexattr(mounted, "third")
val, errno = GetXAttr(mounted, "third") val, errno = GetXAttr(mounted, "third")
if errno != ENODATA { if errno != int(ENODATA) {
t.Error("Data not removed?", errno, val) t.Error("Data not removed?", errno, val)
} }
} }
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