Add L2 test case for rfcdefaults.ini file creation validation#314
Open
Vismalskumar0 wants to merge 3 commits intodevelopfrom
Open
Add L2 test case for rfcdefaults.ini file creation validation#314Vismalskumar0 wants to merge 3 commits intodevelopfrom
Vismalskumar0 wants to merge 3 commits intodevelopfrom
Conversation
Contributor
Vismalskumar0
commented
Nov 6, 2025
- Added test_rfcdefaults_ini_file_creation() in test_bootup_sequence.py
- Added helper functions for file existence checks and content validation
- Added RFC_DEFAULTS_FILE constant in basic_constants.py
- Updated test order numbers to accommodate new test case
- Test validates that rfcdefaults.ini is created during TR69 daemon initialization
- Added test_rfcdefaults_ini_file_creation() in test_bootup_sequence.py - Added helper functions for file existence checks and content validation - Added RFC_DEFAULTS_FILE constant in basic_constants.py - Updated test order numbers to accommodate new test case - Test validates that rfcdefaults.ini is created during TR69 daemon initialization
- test_image_upgrade_rdk_portal.py: Comprehensive L2 test suite for Image Upgrade via RDK Portal * Tests TR-069 parameter configuration (Protocol, URL, Firmware filename, etc.) * Validates script triggering mechanism when FirmwareDownloadNow is set * Tests status monitoring through firmware status file (/opt/fwdnldstatus.txt) * Verifies error handling for missing parameters * Includes end-to-end workflow simulation - validate_image_upgrade_trigger.py: Standalone validation script * Validates that TR-069 parameters properly trigger /lib/rdk/userInitiatedFWDnld.sh * Tests parameter validation and error handling * Provides quick validation of script execution mechanism - run_image_upgrade_l2_tests.py: Test runner following existing project patterns * Simple Python-based test execution (no Makefile needed) * Compatible with existing run_l2.sh integration * Generates results in /tmp/l2_test_report/ following project conventions Validates the complete Image Upgrade workflow: RDK Portal → TR-069 Parameters → tr69hostif → userInitiatedFWDnld.sh → Firmware Download
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.