文件操作 - __init__.py
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/linux-headers-5.15.0-186/scripts/kconfig/tests/new_choice_with_dep/__init__.py
编辑文件内容
# SPDX-License-Identifier: GPL-2.0 """ Ask new choice values when they become visible. If new choice values are added with new dependency, and they become visible during user configuration, oldconfig should recognize them as (NEW), and ask the user for choice. Related Linux commit: 5d09598d488f081e3be23f885ed65cbbe2d073b5 """ def test(conf): assert conf.oldconfig('config', 'y') == 0 assert conf.stdout_contains('expected_stdout')
修改文件时间
将文件时间修改为当前时间的前一年
删除文件