Skip to content

Commit b1f744c

Browse files
Update test yamls
1 parent 3b6a651 commit b1f744c

6 files changed

+6
-6
lines changed

dsc/examples/filesys_create.dsc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ resources:
44
- name: Create empty file
55
type: Microsoft.DSC/File
66
properties:
7-
path: "[path('d:\\', 'temp', 'a.txt')]"
7+
path: "[path(envar(TEMP), 'test-file-resource.txt')]"
88
_exist: true

dsc/examples/filesys_delete.dsc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ resources:
44
- name: Create empty file
55
type: Microsoft.DSC/File
66
properties:
7-
path: "[path('d:\\', 'temp', 'a.txt')]"
7+
path: "[path(envar(TEMP), 'test-file-resource.txt')]"
88
_exist: false

dsc/examples/filesys_dir_create.dsc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ resources:
44
- name: Create empty directory
55
type: Microsoft.DSC/Directory
66
properties:
7-
path: "[path('d:\\', 'temp', 'testdir')]"
7+
path: "[path(envar(TEMP), 'test-file-resource.txt')]"
88
_exist: true

dsc/examples/filesys_dir_delete.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ resources:
44
- name: Delete empty directory
55
type: Microsoft.DSC/Directory
66
properties:
7-
path: "[path('d:\\', 'temp', 'testdir')]"
7+
path: "[path(envar(TEMP), 'testdir')]"
88
_exist: false

dsc/examples/filesys_dir_delete_recurse.dsc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ resources:
44
- name: Delete non-empty directory
55
type: Microsoft.DSC/Directory
66
properties:
7-
path: "[path('d:\\', 'temp', 'testdir')]"
7+
path: "[path(envar(TEMP), 'testdir')]"
88
recurse: true
99
_exist: false

dsc/examples/filesys_filecontent.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ resources:
44
- name: Set file content
55
type: Microsoft.DSC/FileContent
66
properties:
7-
path: "[path('d:\\', 'temp', 'a.txt')]"
7+
path: "[path(envar(TEMP), 'test-file-resource.txt')]"
88
content: "Hello, World!"
99
_exist: true

0 commit comments

Comments
 (0)