]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove more tmp-*
authorAlan T. DeKok <aland@freeradius.org>
Tue, 26 Mar 2024 13:30:08 +0000 (09:30 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 26 Mar 2024 13:30:08 +0000 (09:30 -0400)
src/tests/keywords/subrequest-cancel

index 710cbf3a92df5f7381cf8706297541d1acf2a427..f3eca48ad1927d0a083264686a460ccb4ebfbee2 100644 (file)
@@ -1,21 +1,24 @@
+string foo
+string bar
+
 # Cancel in subrequest
 subrequest Access-Request {
-       &parent.Tmp-String-0 := 'testing'
+       &parent.foo := 'testing'
 
        # Immediately cancel the subrequest
        %cancel(0)
 
-       &parent.Tmp-String-1 := 'should not see me'
+       &parent.bar := 'should not see me'
 
        # We should've been cancelled here
        test_fail
 }
 
-if (!(&Tmp-String-0 == 'testing')) {
+if (!(&foo == 'testing')) {
        test_fail
 }
 
-if (&Tmp-String-1 == 'should not see me') {
+if (&bar == 'should not see me') {
        test_fail
 }
 success