Skip to content

Commit 28a08ef

Browse files
committed
avfs: Rename tag datarace to avfs_race
1 parent 0676fc3 commit 28a08ef

File tree

20 files changed

+18
-25
lines changed

20 files changed

+18
-25
lines changed

.deepsource.toml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
run: avfs test
3131

3232
- name: Run tests as root
33+
if: ${{ startsWith(matrix.os, 'ubuntu') }}
3334
run: avfs testAsRoot
3435

3536
- name: Run tests as root with SetOsType

errors_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// limitations under the License.
1515
//
1616

17-
//go:build !datarace
17+
//go:build !avfs_race
1818

1919
package avfs_test
2020

idm/dummyidm/dummyidm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// limitations under the License.
1515
//
1616

17-
//go:build !datarace
17+
//go:build !avfs_race
1818

1919
package dummyidm_test
2020

idm/memidm/memidm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// limitations under the License.
1515
//
1616

17-
//go:build !datarace
17+
//go:build !avfs_race
1818

1919
package memidm_test
2020

idm/osidm/osidm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// limitations under the License.
1515
//
1616

17-
//go:build !datarace
17+
//go:build !avfs_race
1818

1919
package osidm_test
2020

mage/magefile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ func Race() error {
313313
}
314314

315315
err := sh.RunV(goCmd, "test", "-v",
316-
"-tags=datarace",
316+
"-tags=avfs_race",
317317
"-run=TestRace",
318318
"-race",
319319
"-count="+strconv.Itoa(raceCount),

test/test_race.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ func (ts *Suite) TestRace(t *testing.T) {
4646
ts.RaceOpenFileExcl,
4747
ts.RaceRemove,
4848
ts.RaceRemoveAll,
49-
5049
ts.RaceMkdirRemoveAll)
5150
}
5251

test/testbuild/testbuild.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ func main() {
9292
info, _ := vfs.Stat(tmpFile)
9393
vfs.SetUMask(0)
9494
_, _ = vfs.SetUser("")
95+
_, _ = vfs.Sub("")
9596
_ = vfs.SystemDirs(tmpDir)
9697
_ = vfs.TempDir()
9798
_ = vfs.ToSlash(tmpDir)

utils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// limitations under the License.
1515
//
1616

17-
//go:build !datarace
17+
//go:build !avfs_race
1818

1919
package avfs_test
2020

0 commit comments

Comments
 (0)