文件操作 - __init__.py
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/kernels/4.18.0-553.124.4.el8_10.x86_64/scripts/kconfig/tests/auto_submenu/__init__.py
编辑文件内容
""" Create submenu for symbols that depend on the preceding one. If a symbols has dependency on the preceding symbol, the menu entry should become the submenu of the preceding one, and displayed with deeper indentation. """ def test(conf): assert conf.oldaskconfig() == 0 assert conf.stdout_contains('expected_stdout')
修改文件时间
将文件时间修改为当前时间的前一年
删除文件