blob: 5a67c6924c7558a3ba8a5e1cf61d55c2c2d1d0d1 [file] [log] [blame]
package profiles_test
import (
"os"
"testing"
"veyron/profiles"
)
func TestGeneric(t *testing.T) {
p := profiles.New()
if got, want := p.Name(), "generic"; got != want {
t.Errorf("got %q, want %q", got, want)
}
hostname, _ := os.Hostname()
if got, want := p.Platform().Node, hostname; got != want {
t.Errorf("got %q, want %q", got, want)
}
}